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

            _playerStatus.isWalking = true;
        }
Пример #2
0
 private void Awake()
 {
     _playerAnimator = GetComponent <PlayerAnimator>();
     _playerWeapons  = GetComponent <PlayerWeapons>();
 }
Пример #3
0
 private void Awake()
 {
     _playerWallet   = GetComponent <PlayerWallet>();
     _playerAnimator = GetComponent <PlayerAnimator>();
     _playerHealth   = GetComponent <PlayerHealth>();
 }