123456789101112131415161718192021222324 |
- using Blue;
- public class EventSystemPatch : SingletonMonobehaviour<EventSystemPatch>
- {
- 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);
- }
- }
|