using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 转速调整上部 /// public class RotateSpeedUpBtn : PermanentTriggerBase { public FunctionSync_PositionRoate linkageObject; public FunctionSync_PositionRoate button_Roate; protected override void OnMDown() { base.OnMDown(); button_Roate.transform.localEulerAngles = new Vector3(-6, 0, 0); button_Roate.ReleaseControl(); StepManager.Instance.FinishStep(triggerName); } protected override void OnMExit() { base.OnMExit(); button_Roate.transform.localEulerAngles = new Vector3(0, 0, 0); button_Roate.ReleaseControl(); } //public override void Init() //{ // base.Init(); //} }