Beispiel #1
0
    void MeleeAttackInput(int mouseType)
    {
//		Debug.Log("INput");
        if (playerAnimator.playerCam != null)
        {
            playerMotor.OnCharacterAlignWithCamera();
        }
        if (mouseType == 0)
        {
            playerAnimator.MeleeAttackInput(0);
        }
        else if (mouseType == 1)
        {
            playerAnimator.MeleeAttackInput(1);
        }
    }