Exemple #1
0
        private void HandleCombatInput(float delta)
        {
            if (rb_Input)
            {
                playerAttacking.HandleRBAction();
            }
            if (rt_Input)
            {
                playerAttacking.HandleRTAction();
            }
            if (lt_Input)
            {
                if (twoHandFlag)
                {
                    //if two handing handle weapon art
                }
                else
                {
                    playerAttacking.HandleLTAction();
                }
            }
            if (lb_Input)
            {
                playerAttacking.HandleLBAction();
            }
            else
            {
                playerManager.isBlocking = false;

                if (blockingCollider.blockingCollider.enabled)
                {
                    blockingCollider.DisableBlockingCollider();
                }
            }
        }
 public void CloseBlockingCollider()
 {
     blockingCollider.DisableBlockingCollider();
 }