Im confused as to what is the best practise in regards to performance for activating/deactivating and/or moving objects.
When you store an array of game objects, and then store a game object in a variable, is that bad for performance, i.e i have three game objects?
Whats the difference in sending a global event to a specific fsm, sending a named event, triggering an fsm bool and that object checking for bool changes, grabbing that gameobect from an array and triggering an event? There seems so many ways to do the same thing i've no idea which is best :-/
If you were deactivating children, would you use the next child action, loop through an array, store all children in a parent and deactivate that or send an event to the parent (with send to children) and have a deactivate-self action on each child?
Would you deactivate things at all, or just move them off screen?
AS you can see i could just do with some basic understanding of the overheads of different approaches.
Any help appreciated.