示例#1
0
    void FixedUpdate() {

        //Jumpy stuff horrible
        airTime--;
        if (airTime <=0)
        {
            onAir = false;
            bool isJumping = myMovement.IsJumping();
            if (isJumping)
            {
                Jump();
            }

        }
        
        //
        if (follower) {
            follower.AddStep(transform.position, false);//aca va IsJumping pero veremos
        }

    }