static MainEditorPanel() { MainEditorPanel.menuLabels = new GUIContent[4] { new GUIContent("Startup & Scenes"), new GUIContent("Global Variables"), null, new GUIContent("Settings") }; MainEditorPanel.menuIdx = 0; MainEditorPanel.GC_GameScenes = new GUIContent(Ico._ellipsis_v + " Scenes"); MainEditorPanel.GC_AddScene = new GUIContent(Ico._add_c, "Add scene"); MainEditorPanel.GC_AutoloadBootstrap = new GUIContent(Ico._star, "The bootstrap scene should always load first"); MainEditorPanel.GC_RenameScene = new GUIContent(Ico._rename, "Rename scene"); MainEditorPanel.GC_RemoveScene = new GUIContent(Ico._remove, "Remove scene"); MainEditorPanel.GC_FixError = new GUIContent("Fix it now"); MainEditorPanel.STR_BootstrapError1 = "The bootstrap data could not be loaded."; MainEditorPanel.STR_BootstrapError2 = "The bootstrap scene must be present and first in the list of scenes."; MainEditorPanel.GC_StartupOrder = new GUIContent(" ", "Toggle startup scene and order of loading"); MainEditorPanel.GC_AutoLoad_OFF = new GUIContent(" ", "Toggle scene for auto-loading"); MainEditorPanel.GC_AutoLoad_ON = new GUIContent(Ico._star_o, "Toggle scene for auto-loading"); MainEditorPanel.GC_GlobalVars = new GUIContent(Ico._ellipsis_v + " Global Variables"); MainEditorPanel.GC_GlobalVarsMsg = new GUIContent("The Global Variables should now be available for editing in the Inspector."); MainEditorPanel.GC_ShowGlobalVars = new GUIContent("Show Global Variables"); MainEditorPanel.GC_Settings = new GUIContent(Ico._ellipsis_v + " Settings"); MainEditorPanel.GC_AutoLoadBootstrap = new GUIContent("Auto-load Bootstrap", "Auto-load Bootstrap when the Unity Play Button is used? This should be on if you are using the Blox Game Systems."); MainEditorPanel.GC_InstallDocs = new GUIContent("Install Offline Documentation", "The offline documentation will be installed to the 'Documentations/Blox' folder under the root of your project's path."); MainEditorPanel.GC_UseDocs = new GUIContent("Use ..."); MainEditorPanel.GC_OnlineDocs = new GUIContent("ONLINE: " + BloxEdGlobal.URL_DOCS); MainEditorPanel.GC_OfflineDocs = null; MainEditorWindow.AddChildEditor(new MainEditorPanel()); }