コード例 #1
0
 /// <summary>
 /// Please call `base.OnCreate()` on your subclass if you have your own override !!
 /// </summary>
 protected override void OnCreate()
 {
     ETM = EnumTypeManager.Singleton;
     DispatchingSystem = World.GetOrCreateSystem <DispatchingSystem>();
     queuedActions     = new Queue <DispatchAction>();
     DispatchingSystem.Subscribe(HandleAction);
     created = true;
 }
コード例 #2
0
 public static DispatchAction Create <ENUM>(
     EnumTypeManager etm,
     ENUM e,
     params (Enum key, object pl)[] payload