private void Update_CheckCustomDataIsLoaded() { if (CustomDataLoadCalled) { return; } if (!DataBlocksDissolver.IsCustomDataLoaded && GameDataInit.IsLoaded) { var basePath = Path.Combine(Imports.GetGameDirectory(), "Mods"); var customRdwsPath = $"{basePath}\\Rundowns"; if (!Directory.Exists(customRdwsPath)) { Directory.CreateDirectory(customRdwsPath); } CustomDataLoadCalled = true; var rundowns = DataBlocksDissolver.DissolveAllRundowns(customRdwsPath); foreach (var rundown in rundowns) { RundownPicker.AddItem(rundown.Name, rundown.Checksum, rundown.ID); } } }
private void Update_MainScreenRundownSelector() { if (!RundownPicker.IsMainScreen) { return; } if (Input.GetKeyDown(KeyCode.LeftArrow)) { RundownPicker.Previous(); } else if (Input.GetKeyDown(KeyCode.RightArrow)) { RundownPicker.Next(); } }