Beispiel #1
0
 void Start()
 {
     UIManager    = UIManager.UIM;
     AudioManager = AudioManager.AM;
     fuelManager  = gameObject.GetComponent <fuel>();
     ClickDrag    = gameObject.GetComponent <ClickDrag>();
 }
Beispiel #2
0
 void Start()
 {
     controller = GameObject.FindGameObjectWithTag("GameController").GetComponent <ClickDrag>();
 }
Beispiel #3
0
 void Start()
 {
     ClickDrag = PlayerManager.PM.gameObject.GetComponent <ClickDrag>();
 }