Exemplo n.º 1
0
//Methods Run by outside scripts


    public void GroundCheckBool(bool _bool)
    {
        isGrounded = _bool;
        //Communicate with the attack script that the player has hit the ground
        _attacks.GroundDetection(_bool);

        //Reset Wall Jump Count
        if (isGrounded)
        {
            runJumpRef.wallJumpCount = 0;
            runJumpRef.jumpCount     = 0;
        }
    }