void Awake()
        {
            _animator   = GetComponent <PlayerAnimator>();
            _inventory  = GetComponentInChildren <PlayerInventory>();
            _flashlight = GetComponentInChildren <PlayerFlashlight>();
            _weaponSlot = GetComponentInChildren <PlayerWeaponSlot>();

            _playerStatus.isWalking = true;
        }
Exemplo n.º 2
0
 private void Awake()
 {
     _playerAnimator = GetComponent <PlayerAnimator>();
     _playerWeapons  = GetComponent <PlayerWeapons>();
 }
Exemplo n.º 3
0
 private void Awake()
 {
     _playerWallet   = GetComponent <PlayerWallet>();
     _playerAnimator = GetComponent <PlayerAnimator>();
     _playerHealth   = GetComponent <PlayerHealth>();
 }