Ejemplo n.º 1
0
 private void Awake()
 {
     quickSlotsUI      = FindObjectOfType <QuickSlotsUI>();
     consumableSlot    = GetComponentInChildren <ConsumableHolderSlot>();
     animator          = GetComponent <PlayerAnimatorHandler>();
     weaponSlotManager = GetComponent <PlayerWeaponSlotManager>();
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     animatorHandler   = GetComponentInChildren <PlayerAnimatorHandler>();
     inputHandler      = GetComponent <InputHandler>();
     playerStats       = GetComponent <PlayerStats>();
     weaponSlotManager = GetComponentInChildren <PlayerWeaponSlotManager>();
     playerManager     = GetComponent <PlayerManager>();
     blockingCollider  = GetComponentInChildren <BlockingCollider>();
 }
Ejemplo n.º 3
0
 private void Awake()
 {
     playerAttacker        = GetComponent <PlayerAttacker>();
     playerInventory       = GetComponent <PlayerInventory>();
     playerManager         = GetComponent <PlayerManager>();
     weaponSlotManager     = GetComponentInChildren <PlayerWeaponSlotManager>();
     consumableSlotManager = GetComponentInChildren <ConsumableSlotManager>();
     uiManager             = FindObjectOfType <UIManager>();
     cameraHandler         = FindObjectOfType <CameraHandler>();
     animatorHandler       = GetComponentInChildren <AnimatorHandler>();
     Cursor.lockState      = CursorLockMode.Locked;
 }
Ejemplo n.º 4
0
 private void Awake()
 {
     weaponSlotManager     = GetComponentInChildren <PlayerWeaponSlotManager>();
     consumableSlotManager = GetComponentInChildren <ConsumableSlotManager>();
 }