I have a manager script that manages all the enemies in my scene. To do this it has an array called EnemyObject where it manages all the objects at once. How can I have the enemy add itself to the EnemyObject array when its instantiated?
Thanks Stealth
↧