Quantcast
Channel: Answers by "Narv"
Viewing all articles
Browse latest Browse all 60

Answer by Narv

$
0
0
you could also just set the gameobject to inactive. Will the user pass the object again in the future? (such as a wall obstacle) If so you could just keep a reference to that object and then move the object to the new location instead of spawning a new one later to optimize that. Unity is pretty good at culling things out of the scene though.

Viewing all articles
Browse latest Browse all 60

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>