示例#1
0
    public void onLand()
    {
        playerAnimator.SetBool("jump", false);
        camShake.shakeTiny();

        FindObjectOfType <AudioManager>().play("Land");
    }
示例#2
0
    public void onLand()
    {
        jump             = false;
        verticalMove     = 0;
        jumpSoundPlaying = false;
        playerAnimator.SetBool("jump", jump);

        //screen shake
        camShake.shakeTiny();

        //sound
        FindObjectOfType <AudioManager>().play("Land");
    }