Example #1
0
 private void Awake()
 {
     _animator           = GetComponent <Animator>();
     _playerMovement     = GetComponent <PlayerAvatarMovement>();
     _harvestingNodeHash = Animator.StringToHash("harvestingNode");
     _swingingWeaponHash = Animator.StringToHash("swingingWeapon");
     BuildActionTable();
 }
Example #2
0
 private void Awake()
 {
     PlayerMovement = GetComponent <PlayerAvatarMovement>();
     PlayerActions  = GetComponent <PlayerActions>();
 }