Esempio n. 1
0
        private void OnDestroy()
        {
            browseEntities.Dispose();

            ECSUtils.DisableSystems(typeof(VehicleSelectionScreenQueueSystem), typeof(VehicleSelectionScreenInputHandler),
                                    typeof(VehicleSelectionScreenCameraSystem), typeof(VehicleSelectionScreenCameraTransformSystem));
        }
Esempio n. 2
0
        private void Awake()
        {
            Assert.IsNotNull(template, "No Camera found!");
            Assert.IsNotNull(playerPool, "No PlayerPool found!");
            Assert.IsNotNull(cache, "No SelectionCache found!");

            PlayerPool            = playerPool;
            VehicleSelectionCache = cache;

            // TODO: Uncomment
            ECSUtils.DisableSystems(typeof(GameplayPlayerPhysicsMoveSystem), typeof(GameplayPlayerHoverSystem));

#if UNITY_EDITOR
            ECSUtils.DisableSystems(typeof(Derby.Tests.CameraTestSystem), typeof(Derby.Tests.CameraTransformUpdater));
#endif
        }