Пример #1
0
 private void DoRegister(ECSSystem system)
 {
     this.engineService.RequireInitState();
     this.RegisterNodesDeclaredInSystem(system.GetType());
     this.CollectHandlersAndNodes(system);
     this.InitSystem(system);
     this.registeredSystemTypes.Add(system.GetType());
 }
Пример #2
0
 public void RegisterSystem(ECSSystem system)
 {
     this.CheckDoubleRegistration(system.GetType());
     this.DoRegister(system);
 }