private void Start()
        {
            animator           = GetComponent <Animator>();
            playerVault        = GetComponent <PlayerVault>();
            playerLocomotion   = GetComponent <PlayerLocomotion>();
            playerStateManager = GetComponent <PlayerStateManager>();

            layerMask = ~layerMask;
        }
Esempio n. 2
0
 private void ComponentInitialization()
 {
     playerAttack          = GetComponent <PlayerAttack>();
     playerStateManager    = GetComponent <PlayerStateManager> ();
     playerCameraComponent = playerCamera.GetComponent <PlayerCamera> ();
     playerLocomotion      = GetComponent <PlayerLocomotion> ();
     playerFreeClimb       = GetComponent <PlayerFreeClimb> ();
     playerEvade           = GetComponent <PlayerEvade>();
 }