private void ProjectMode_CheckedChanged(object sender, EventArgs e) { if (rdoMode1.Checked) { mode = ProjectMode.画像があればスキップ; } if (rdoMode2.Checked) { mode = ProjectMode.テキストファイルを利用; } if (rdoMode3.Checked) { mode = ProjectMode.作り直す; } }
void OnEnable() { bool ignoringSetup = SetupUtility.ignoringInitialSetup; selectedMode = SetupUtility.projectMode; if (ignoringSetup) { selectedMode = ProjectMode.Default; } if (!SetupUtility.projectInitialized && firstRunPanel == null) { firstRunPanel = new FirstRunPanel(this); } if (panels == null) { panels = new GUIPanel[] { new SetupPanel(this), new ImageSettingsPanel(this), new InteractionSettingsPanel(this), new EditorSettingsPanel(), new FeedbackPanel(this), new DebugInfoPanel(this), new AboutPanel(), }; dividers = new[] { 1, 0, 0, 1, 0, 1, 0 }; } activePanelIndex = EditorPrefs.GetInt(panelPrefPath, 0); UpdateEnabledPanel(); if (SetupUtility.projectInitialized) { maxSize = minSize = new Vector2(560, 480); } else { maxSize = minSize = new Vector2(680, 600); } Undo.undoRedoPerformed += OnUndoRedo; }
public void IsAuthoringMode_Passes() { ProjectMode.IsAuthoringMode(); }