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>(); }
private void Awake() { Player = GameManager.playerone; context = this.GetComponent <StateController_Flyingbot>(); }
public State_Hit(StateController_Flyingbot c) { context = c; }
private void Awake() { me = GameObject.Find("MurderBot"); state_moving = this.GetComponent <State_Moving>(); context = this.GetComponent <StateController_Flyingbot>(); }
private void Awake() { me = GameObject.Find("MurderBot"); currentPoint = UnityEngine.Random.Range(0, 3); context = this.GetComponent <StateController_Flyingbot>(); }