private void OnGUI() { if (!creator.ValidateAssets(errors)) { EditorGUILayout.LabelField("Validating assets...", EditorStyles.miniLabel); foreach (string error in errors) { EditorGUILayout.HelpBox(error, MessageType.Error); } return; } switch (creator.Stage) { case ExtensionServiceCreator.CreationStage.SelectNameAndPlatform: DrawSelectNameAndPlatform(); break; case ExtensionServiceCreator.CreationStage.ChooseOutputFolders: DrawChooseOutputFolders(); break; case ExtensionServiceCreator.CreationStage.CreatingExtensionService: case ExtensionServiceCreator.CreationStage.CreatingProfileInstance: DrawCreatingAssets(); break; case ExtensionServiceCreator.CreationStage.Finished: DrawFinished(); break; } }
private void OnGUI() { MixedRealityInspectorUtility.RenderMixedRealityToolkitLogo(); errors.Clear(); if (!creator.ValidateAssets(errors)) { EditorGUILayout.LabelField("Validating assets..."); RenderErrorLog(); return; } switch (creator.Stage) { case ExtensionServiceCreator.CreationStage.SelectNameAndPlatform: DrawSelectNameAndPlatform(); break; case ExtensionServiceCreator.CreationStage.ChooseOutputFolders: DrawChooseOutputFolders(); break; case ExtensionServiceCreator.CreationStage.CreatingExtensionService: case ExtensionServiceCreator.CreationStage.CreatingProfileInstance: DrawCreatingAssets(); break; case ExtensionServiceCreator.CreationStage.Finished: DrawFinished(); break; } }