コード例 #1
0
ファイル: State_Firing.cs プロジェクト: jbryant32/JDA
 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>();
 }
コード例 #2
0
ファイル: State_Spawning.cs プロジェクト: jbryant32/JDA
 private void Awake()
 {
     Player  = GameManager.playerone;
     context = this.GetComponent <StateController_Flyingbot>();
 }
コード例 #3
0
ファイル: State_Hit.cs プロジェクト: jbryant32/JDA
 public State_Hit(StateController_Flyingbot c)
 {
     context = c;
 }
コード例 #4
0
 private void Awake()
 {
     me           = GameObject.Find("MurderBot");
     state_moving = this.GetComponent <State_Moving>();
     context      = this.GetComponent <StateController_Flyingbot>();
 }
コード例 #5
0
 private void Awake()
 {
     me           = GameObject.Find("MurderBot");
     currentPoint = UnityEngine.Random.Range(0, 3);
     context      = this.GetComponent <StateController_Flyingbot>();
 }