コード例 #1
0
    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);
    }
コード例 #2
0
 public void OnDiscover()
 {
     SystemsInjector.RegisterUpdateSystem(_executionindex, this);
     SystemsInjector.RegisterFixedSystem(_executionindex, this);
     SystemsInjector.RegisterLateSystem(_executionindex, this);
 }
コード例 #3
0
    public void OnDiscover()
    {
        actors = new List <Actor>();

        SystemsInjector.RegisterFixedSystem(20, this);
    }
コード例 #4
0
 public void OnDiscover()
 {
     SystemsInjector.RegisterFixedSystem(ExecutionIndex, this);
     InitializeEntities();
 }
コード例 #5
0
 public void OnDiscover()
 {
     SystemsInjector.RegisterUpdateSystem(ExecutionIndex, this);
 }