Enemy adding it self to a list when spawning

He so i have a script where my list is under void update but i want to make is so then the stonegolem spawn it will put itself onto the list so then 3 stone golems spawn they will add themselves so there will be 3 stone golems in the list how can i do? this is the list

enemies = new List<GameObject>()
        {
            StoneGolem,
            SkeletonWarrior,
            SkeletonArcher
        };

In your golem’s Start() function. You will have to make sure that this list is accessible by the stone golem’s script, and if you only have one list the easiest way to do it is to make it static.
**
In your first script:

public class ScriptWithMyList : Monobehavior{
     public static List<GameObject> enemies;
....

And in your golem script:

enemies.Add(this.gameObject);