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