- Home /
Resources.Load performance specific question
Hellow,
Im my game there will be a limitied and pre- known amout of enemies in each scene. between 3 to 20 depends on the level.
Those enemies have visual representation which is the 3d model. when combind with the prefab code is acing right.
Question:
Is it ok to store those in the Resources directory and use Resources.Load one time when the scene is first loaded to easy get them later from my singleton ?
Or even one call is still going to create high performance cost. I want to avoid using unity inspector as much as possible.
Thank you : )
Comment
Answer by patrick508 · Mar 04, 2017 at 09:10 AM
Resources.Load can be heavy for your HDD yes. I would suggest doing this a different way with direct references instead of the Resources.Load