예제 #1
0
    // Update is called once per frame
    void Update()
    {
        //if (gameManager.PlayerCanMove())
        //{
        move();
        checkGround();

        if (CrossPlatformInputManager.GetButtonDown("A_Button") && grounded == true)
        {
            playerAnim.Attack();
        }
        //}
    }