// Use this for initialization void Start() { CharSpawnManager spawnManager = GameObject.FindGameObjectWithTag("Manager").GetComponent <CharSpawnManager>(); spawnManager.spawnPosition = crewSpawn.transform.position; spawnManager.mapCrewContainer = crewSpawnContainer; GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerManager>().engineMng = engineManager; }
// Use this for initialization void Start() { charSpawnMng = GameObject.FindGameObjectWithTag("Manager").GetComponent <CharSpawnManager>(); charSpawnMng.SpawnAlly("Crew n1"); charSpawnMng.SpawnAlly("Crew n2"); charSpawnMng.SpawnAlly("Crew n3"); charSpawnMng.SpawnAlly("Crew n4"); }
// Use this for initialization void Start() { charSpawnMng = GameObject.FindGameObjectWithTag("Manager").GetComponent<CharSpawnManager>(); charSpawnMng.SpawnAlly("Crew n1"); charSpawnMng.SpawnAlly("Crew n2"); charSpawnMng.SpawnAlly("Crew n3"); charSpawnMng.SpawnAlly("Crew n4"); }
// Use this for initialization void Start() { charSpawnMng = GameObject.FindGameObjectWithTag("Manager").GetComponent <CharSpawnManager>(); StartCoroutine(spawnCrt()); }
// Use this for initialization void Start() { charSpawnMng = GameObject.FindGameObjectWithTag("Manager").GetComponent<CharSpawnManager>(); StartCoroutine(spawnCrt()); }