Hello, I would like to know whats the best way to reuse objects (sprites).
For example on a infinite scroller, some enviroment is destroyed when it goes off screen but it has to be spawned again. Another example is for enemies, when they are thestroyed but should be respawned.
So whats the best for performance, specially on mobile. Should I destroy them and create them again, or should I make them invisible and then move them to a new location and make them visible again?