Esempio n. 1
0
 private void Awake()
 {
     Player       = GameManager.playerone;
     me           = GameObject.Find("MurderBot");
     LaserRife    = GameObject.Find("FreakinLaser").GetComponent <FreakinLasers>();
     state_moving = this.GetComponent <State_Moving>();
     context      = this.GetComponent <StateController_Flyingbot>();
 }
Esempio n. 2
0
 private void Awake()
 {
     Player  = GameManager.playerone;
     context = this.GetComponent <StateController_Flyingbot>();
 }
Esempio n. 3
0
 public State_Hit(StateController_Flyingbot c)
 {
     context = c;
 }
Esempio n. 4
0
 private void Awake()
 {
     me           = GameObject.Find("MurderBot");
     state_moving = this.GetComponent <State_Moving>();
     context      = this.GetComponent <StateController_Flyingbot>();
 }
Esempio n. 5
0
 private void Awake()
 {
     me           = GameObject.Find("MurderBot");
     currentPoint = UnityEngine.Random.Range(0, 3);
     context      = this.GetComponent <StateController_Flyingbot>();
 }