// Use this for initialization void Start() { respawnButton = false; spawnPos = playerSpawPoint.GetComponentsInChildren <Transform>(); innerVoice = GetComponentInChildren <InnerVoice>(); innerVoice.PlayWhatHappened(); }
void Start() { spawnPoints = spawnPointsParent.GetComponentsInChildren <Transform>(); innerVoice = GetComponentInChildren <InnerVoice> (); }
void Start() { spawnPoints = GameObject.Find("PlayerSpawnPoints").GetComponentsInChildren <Transform>(); innerVoice = GetComponentInChildren <InnerVoice>(); clearArea = GetComponentInChildren <ClearArea>(); }
// Use this for initialization void Start() { playerSpawner = GameObject.Find("Player Spawn Points"); spawned = false; innerVoice = GetComponent <InnerVoice>(); }
void Start() { spawnPoints = GameObject.Find("PlayerSpawnPoints").GetComponentsInChildren<Transform>(); innerVoice = GetComponentInChildren<InnerVoice>(); clearArea = GetComponentInChildren<ClearArea>(); }