Going through my game scripts and checking stuff works and there isnt anything unnessesary. Changing variables in another script and actions etc i use
I havent used this next one really, other than for getting objects ive instantiated in an array.
spawner = GameObject.FindGameObjectWithTag("spawner");
Is there any other way of doing this? Or do i have to assign the gameObjectVar every time? Its hard to explain. I feel that creating a variable which i attach the gameobject to in the inspector for each script is messy.
It may not actually be messy and its the most effective way to do it.