private void Start() { _playerMovement = GetComponent <PlayerMovement>(); _playerCombat = GetComponent <PlayerCombat>(); _playerStatus = GetComponent <PlayerStatus>(); _animatorHandler = GetComponent <AnimatorHandler>(); _animatorHandler.Initialize(); _resetAnimatorHash = Animator.StringToHash("resetAnimator"); _isAimingHash = Animator.StringToHash("isAiming"); }
private void Start() { _rigidbody = GetComponent <Rigidbody>(); _playerCombat = GetComponent <PlayerCombat>(); _playerStatus = GetComponent <PlayerStatus>(); }