Example #1
0
 protected override void Awake()
 {
     base.Awake();
     if (tno.isMine)
     {
         instance = this;
     }
     Settings      = BattleGameObjects.instance.settings;
     _battlePlayer = GetComponent <BattlePlayer>();
     mRb           = GetComponent <Rigidbody>();
 }
 private void Awake()
 {
     bpInput = BattlePlayerInput.instance;
     bPlayer = BattlePlayer.instance;
 }