Esempio n. 1
0
    // Update is called once per frame
    void Update()
    {
        //Debug.Log(Input.GetButtonDown("GroundPound"));

        if (!status.getGrounded() && Input.GetButtonDown("GroundPound"))
        {
            pounding = true;
            status.setPounding(true);
            anim.SetBool("Pounding", pounding);
            //Debug.Log("Ground pound input handled");

            if (!hangtime)
            {
                hangtime = true;
            }
        }
    }