// Start is called before the first frame update
 void Start()
 {
     ecsControls = new CinemaControls();
     // pes=  World.DefaultGameObjectInjectionWorld.GetExistingSystem<PhysicsEventSystem>();
     ecsControls.Enable();
     //pes.randomness = rand;
 }
Пример #2
0
    // Start is called before the first frame update
    void StartUp()
    {
        cinemaControl = new CinemaControls();

        cinemaControl.CinemaControlsBasic.PlayPause.performed += PlayPause;
    }