コード例 #1
0
 void Start()
 {
     repairGunModule = transform.parent.parent.GetComponentInChildren <Module>();
     shootBehavior   = this.GetComponent <Behavior.IShoot>();
     subscribe();
 }
コード例 #2
0
ファイル: Movement.cs プロジェクト: buckyoung/scopecreep
 void Start()
 {
     repairGunModule = transform.parent.GetComponentInChildren <Module>();
     barrelPosition  = 0.0f;
 }