void Start() { healthandscore = GameObject.Find("Gobel").GetComponent <HealthandScore>(); gunsystem = GameObject.Find("Main Camera").GetComponent <GunSystem>(); GameControl = GameObject.Find("Main Camera").GetComponent <GameControl>(); }
void Start() { healthandscore = GameObject.Find("Gobel").GetComponent <HealthandScore>(); SoundControl = GameObject.Find("EnemyScript").GetComponent <SpawnControl>(); }
void Start() { healthandscore = GameObject.Find("Gobel").GetComponent <HealthandScore>(); }
void Start() { LavaCoolDown = Random.Range(2f, 5f); healthandscore = GameObject.Find("Gobel").GetComponent <HealthandScore>(); }