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