示例#1
0
    public void JoystickEnd()
    {
        if (AILerp.me.playerAniControl != null && AILerp.me.playerAniControl.isRiding)
        {
            AudioPlay2D.Stop("audio", "mic_horse_walk");
        }
        else
        {
            AudioPlay2D.Stop("audio", "mic_walk");
        }

        _joystickStarted = false;
        _joystickEnded   = true;
    }
示例#2
0
 void OnDestroy()
 {
     AudioPlay2D.Stop(pkg, resName);
 }
示例#3
0
 void OnDisable()
 {
     AudioPlay2D.Stop(pkg, resName);
 }