Hi, I am abit confused, I have been told you need to store data in variables to stop it leaking and causing lag/crashes etc, so for example if you are selecting every unit owned by player of type, you need to store it in a variable. Thats fine, I understand that.
But do I then need to destroy that variable after I've used it to stop it leaking? And if so do I need to do this for all variables types?
But do I then need to destroy that variable after I've used it to stop it leaking? And if so do I need to do this for all variables types?