Exemplo n.º 1
0
 // Use this for initialization
 void Awake()
 {
     ui  = FindObjectOfType <FlyUI>();
     giv = FindObjectOfType <GiveEnemy>();
     gt  = FindObjectOfType <GetThing>();
     au  = FindObjectOfType <MusicAll>();
 }
Exemplo n.º 2
0
 void Awake()
 {
     au  = FindObjectOfType <MusicAll>();
     gt  = FindObjectOfType <GetThing>();
     gun = this.GetComponent <BossGun>();
     giv = FindObjectOfType <GiveEnemy>();
 }