using AX.MessageSystem; using System.Collections; using System.Collections.Generic; using UnityEngine; public class TwinkleLineControl : UICloneType { public override void RespondFun(bool isOn) { base.RespondFun(isOn); if (isOn) { MessageDispatcher.SendMessage("StartTwinkle"); } else { CloneMultiLine.started = false; MessageDispatcher.SendMessage("StopTwinkle"); } } }