示例#1
0
    public void Enter()
    {
        // use jump animation here
        animator.Play(myAnimationState);
        if (player.data.numJumps > 0)
        {
            jump.Play();
        }
        player.Jump();

        input.Gameplay.Tether.started += player.tetherAbility.ActivateTether;
        input.Gameplay.Glide.started  += player.FastFall;
    }