internal void Spawn(Vector3 point) { int indexMinion = UnityEngine.Random.Range(0, minionsPool.Length); GameObject minion_go = Instantiate(minionsPool[indexMinion], point, Quaternion.Euler(Vector3.back)); var minion = minion_go.GetComponent <MinionController>(); minionManager.AddMinion(minion); }