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; }
void OnDestroy() { AudioPlay2D.Stop(pkg, resName); }
void OnDisable() { AudioPlay2D.Stop(pkg, resName); }