// Use this for initialization void Start() { if (aeinstance == null) { aeinstance = this; } grasslandPartiesList = grasslandParties.GetComponentsInChildren <EnemyPartyManager>(); mountainPartiesList = mountainParties.GetComponentsInChildren <EnemyPartyManager>(); glacierPartiesList = glacierParties.GetComponentsInChildren <EnemyPartyManager>(); volcanoPartiesList = volcanoParties.GetComponentsInChildren <EnemyPartyManager>(); desertPartiesList = desertParties.GetComponentsInChildren <EnemyPartyManager>(); forestPartiesList = forestParties.GetComponentsInChildren <EnemyPartyManager>(); iceCavePartiesList = iceCaveParties.GetComponentsInChildren <EnemyPartyManager>(); pyramidPartiesList = pyramidParties.GetComponentsInChildren <EnemyPartyManager>(); mountainCavePartiesList = mountainCaveParties.GetComponentsInChildren <EnemyPartyManager>(); }