示例#1
0
 private void Awake()
 {
     PlayerRoot = this.GetComponent <PlayerRoot>();
 }
示例#2
0
 protected void Awake()
 {
     PlayerRoot         = this.GetComponent <PlayerRoot>();
     instantBattleInput = gameObject.AddComponent <InstantBattleInput>();
     instantBattleInput.iBattleKeyReciever = this.GetComponent <IBattleKeyReciever>();
 }