Exemple #1
0
 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");
 }
Exemple #2
0
 private void Start()
 {
     _rigidbody    = GetComponent <Rigidbody>();
     _playerCombat = GetComponent <PlayerCombat>();
     _playerStatus = GetComponent <PlayerStatus>();
 }