public void JoystickStart() { if (AILerp.me.playerAniControl != null && AILerp.me.playerAniControl.isRiding) { AudioPlay2D.Play("audio", AudioPlay2D.AudioType.Audio, "mic_horse_walk", (float)LocalData.GetInt("SoundValue") / 100, true); } else { AudioPlay2D.Play("audio", AudioPlay2D.AudioType.Audio, "mic_walk", (float)LocalData.GetInt("SoundValue") / 100, true); } _joystickStarted = true; _joystickEnded = false; AILerp.me.playerAniControl.isJoystickMove = true; if (null != AILerp.me) { AILerp.me.ReleasePath(); } }