// Start is called before the first frame update
 void Start()
 {
     ecsControls = new CinemaControls();
     // pes=  World.DefaultGameObjectInjectionWorld.GetExistingSystem<PhysicsEventSystem>();
     ecsControls.Enable();
     //pes.randomness = rand;
 }
Exemple #2
0
 public void OnEnable()
 {
     if (cinemaControl == null)
     {
         StartUp();
     }
     cinemaControl.Enable();
 }