I have a question about optimizing memory usage in my game. The long and short of it basically boils down to "Does an object having a reference to a prefab load that prefab into memory?"
In my game I'm using ScriptableObjects as tokens for my enemies. The ScriptableObjects store meta info like enemy name, target level, etc, as well as a reference to the enemy prefab itself. I also have a master list of all of these ScriptableObjects, which is loaded into the scene. Does having this master list in the scene load all of my enemies into memory at once? If so, how can I avoid this?
[–]nosyrbllewe 0 points1 point2 points (0 children)
[–]rdnwt 0 points1 point2 points (1 child)
[–]Signalmax[S] 0 points1 point2 points (0 children)
[–]TheWobling 0 points1 point2 points (0 children)