private void OnDestroy() { browseEntities.Dispose(); ECSUtils.DisableSystems(typeof(VehicleSelectionScreenQueueSystem), typeof(VehicleSelectionScreenInputHandler), typeof(VehicleSelectionScreenCameraSystem), typeof(VehicleSelectionScreenCameraTransformSystem)); }
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 }