using Blue; public class EventSystemPatch : SingletonMonobehaviour { private EventCommad mEventCommad = new EventCommad(); /// /// 发送命令 /// public void SendEvent(IEvent mEvent) { mEventCommad.mEvent = mEvent; this.SendEvent(mEvent); } } public class EventCommad : ICommand { public IEvent mEvent; public void OnExcute() { this.SendEvent(mEvent); } }