Example #1
0
 public ISystem Init(Hub hub, IFlashEventDispatcher eventDispatcher)
 {
     Hub      = hub;
     EventBus = eventDispatcher;
     BeforeInit();
     OnInit();
     return(this);
 }
Example #2
0
 public void Destroy()
 {
     OnDestroy();
     Hub      = null;
     EventBus = null;
 }