- Home /
Question by
Marioooo · Jan 01, 2020 at 11:56 PM ·
resources.loadmobileoptimizationreferences
References vs ResoucesFolder: which one to use?
Hi! I'm making a level builder for my game so all level data is in a JSON file and the level is created at runtime.
coding the level builder, i'm not sure if I should use hard references in my script to get all Prefabs to instantiate them or if is a better practice to load them on demand via ResourcesFolder.
Hard referenced stuff is in memory? im worried about memory load cause that script is referencing every prefab in my game. (Is a Mobile game).
Thanks for your time.
Comment