public void OnDiscover() { List <Racer> _racers = new List <Racer>(); for (int i = 0; i < 10; i++) { _racers.Add(GenerateRacerAt(1.5F * i, 0, 0, Quaternion.identity)); } RegisterEntities(_racers); SystemsInjector.RegisterFixedSystem(_executionindex, this); }
public void OnDiscover() { SystemsInjector.RegisterUpdateSystem(_executionindex, this); SystemsInjector.RegisterFixedSystem(_executionindex, this); SystemsInjector.RegisterLateSystem(_executionindex, this); }
public void OnDiscover() { actors = new List <Actor>(); SystemsInjector.RegisterFixedSystem(20, this); }
public void OnDiscover() { SystemsInjector.RegisterFixedSystem(ExecutionIndex, this); InitializeEntities(); }
public void OnDiscover() { SystemsInjector.RegisterUpdateSystem(ExecutionIndex, this); }