/// <inheritdoc/> public void OnGUI(string searchContext) { GUILayout.Label("Configuration for your Text to Speech provider.", CreatorEditorStyles.ApplyPadding(CreatorEditorStyles.Label, 0)); GUILayout.Space(8); TextToSpeechConfiguration config = TextToSpeechConfiguration.Instance; Editor.CreateEditor(config, typeof(TextToSpeechConfigurationEditor)).OnInspectorGUI(); GUILayout.Space(8); CreatorGUILayout.DrawLink("Need Help? Visit our documentation", "https://developers.innoactive.de/documentation/creator/latest/articles/developer/12-text-to-speech.html", 0); }
public override void Draw(Rect window) { GUILayout.BeginArea(window); GUILayout.Label("Help Us! Contribute to Improvements!", CreatorEditorStyles.Title); GUILayout.Box("Innoactive Creator is actively evolving. Please, help us with your feedback. Provide us your <b>anonymous</b> usage data and contribute to improvements.", CreatorEditorStyles.Paragraph); GUILayout.Label("We Respect Your Privacy", CreatorEditorStyles.Header); GUILayout.Box("We DO NOT collect any sensitive information such as source code, file names or your courses' structure.\n\nHere is what we collect:\n- exact version of Innoactive Creator\n- exact version of Unity\n- your system's language\n- information about usage of the Innoactive Creator's components\n\nIn order to collect the information above, we store a unique identifier within Unity's Editor Preferences. Your data is anonymized.", CreatorEditorStyles.Paragraph); GUILayout.Label("We Are Transparent", CreatorEditorStyles.Header); GUILayout.Box("The Innoactive Creator is open-source. Feel free to check our analytics code in <b>Core/Editor/Analytics</b>\n\nIf you want to opt-out of tracking, open the 'ProjectSettings' by navigating to <b>Innoactive > Settings</b>, find <b>Creator > Analytics</b>, and choose <i>disabled</i> from the drop-down menu.", CreatorEditorStyles.Paragraph); CreatorGUILayout.DrawLink("Data Privacy Information", AnalyticsUtils.ShowDataPrivacyStatement); GUILayout.EndArea(); }
public override void Draw(Rect window) { GUILayout.BeginArea(window); GUILayout.Label("Hit Play to Preview", CreatorEditorStyles.Title); GUILayout.Label("Have a look at How-To's and an in-depth Webinar for further information.", CreatorEditorStyles.Paragraph); GUILayout.Label("How-To's", CreatorEditorStyles.Header); CreatorGUILayout.DrawLink("How to build your VR Training application", "https://developers.innoactive.de/documentation/creator/latest/articles/getting-started/designer.html", CreatorEditorStyles.IndentLarge); CreatorGUILayout.DrawLink("How to extend the Creator using a training template", "https://developers.innoactive.de/documentation/creator/latest/articles/developer/01-introduction.html", CreatorEditorStyles.IndentLarge); GUILayout.Label("Need Help?", CreatorEditorStyles.Header); CreatorGUILayout.DrawLink("In-depth webinar on how the Creator works", "https://vimeo.com/417328541/93a752e72c", CreatorEditorStyles.IndentLarge); CreatorGUILayout.DrawLink("Visit our developer community", "https://innoactive.io/creator/community", CreatorEditorStyles.IndentLarge); CreatorGUILayout.DrawLink("Contact Us for Support", "https://www.innoactive.io/support", CreatorEditorStyles.IndentLarge); GUILayout.Space(CreatorEditorStyles.Indent); GUILayout.Label("Also, if you are facing any issues, don't hesitate to reach out to us for support", CreatorEditorStyles.Label); GUILayout.EndArea(); }
/// <inheritdoc/> public override void Draw(Rect window) { wasApplied = false; GUILayout.BeginArea(window); { GUILayout.Label("VR Hardware Setup", CreatorEditorStyles.Title); GUILayout.Label("Select the VR hardware you are working with:", CreatorEditorStyles.Header); selectedLoader = CreatorGUILayout.DrawToggleGroup(selectedLoader, options, nameplates); if (selectedLoader == XRLoader.Other) { GUILayout.Label("The Creator does not provide an automated setup for your device. You need to refer to your device's vendor documentation in order to enable a compatible loader in the Unity's XR Plugin Management.", CreatorEditorStyles.Paragraph); GUILayout.BeginHorizontal(); GUILayout.Label("Please tell us which VR Hardware you are using:", CreatorEditorStyles.Label); otherHardwareText = CreatorGUILayout.DrawTextField(otherHardwareText, -1, GUILayout.Width(window.width * 0.4f)); GUILayout.EndHorizontal(); } } GUILayout.EndArea(); }
/// <inheritdoc /> public override void Draw(Rect window) { GUILayout.BeginArea(window); GUILayout.Label("Setup Training", CreatorEditorStyles.Title); GUI.enabled = loadSampleScene == false; GUILayout.Label("Name of your VR Training", CreatorEditorStyles.Header); courseName = CreatorGUILayout.DrawTextField(courseName, MaxCourseNameLength, GUILayout.Width(window.width * 0.7f)); GUI.enabled = true; if (CourseAssetUtils.CanCreate(courseName, out string errorMessage) == false && lastCreatedCourse != courseName) { GUIContent courseWarningContent = warningContent; courseWarningContent.text = errorMessage; GUILayout.Label(courseWarningContent, CreatorEditorStyles.Label, GUILayout.MinHeight(MinHeightOfInfoText)); CanProceed = false; } else { GUILayout.Space(MinHeightOfInfoText + CreatorEditorStyles.BaseIndent); CanProceed = true; } GUILayout.BeginHorizontal(); GUILayout.Space(CreatorEditorStyles.Indent); GUILayout.BeginVertical(); bool isUseCurrentScene = GUILayout.Toggle(useCurrentScene, "Take my current scene", CreatorEditorStyles.RadioButton); if (useCurrentScene == false && isUseCurrentScene) { useCurrentScene = true; createNewScene = false; loadSampleScene = false; } bool isCreateNewScene = GUILayout.Toggle(createNewScene, "Create a new scene", CreatorEditorStyles.RadioButton); if (createNewScene == false && isCreateNewScene) { createNewScene = true; useCurrentScene = false; loadSampleScene = false; } EditorGUILayout.Space(); loadSampleScene = GUILayout.Toggle(loadSampleScene, "Load Step by Step Guide Scene", CreatorEditorStyles.RadioButton); if (loadSampleScene) { createNewScene = false; useCurrentScene = false; CanProceed = true; GUILayout.BeginHorizontal(); { GUILayout.Space(CreatorEditorStyles.Indent); CreatorGUILayout.DrawLink("Hello Creator – a 5-step guide to a basic training application", "https://developers.innoactive.de/documentation/creator/latest/articles/step-by-step-guides/hello-creator.html"); } GUILayout.EndHorizontal(); } GUILayout.EndVertical(); GUILayout.EndHorizontal(); if (createNewScene) { GUIContent helpContent; string sceneInfoText = "Scene will have the same name as the training course."; if (SceneSetupUtils.SceneExists(courseName)) { sceneInfoText += " Scene already exists"; CanProceed = false; helpContent = warningContent; } else { helpContent = infoContent; } helpContent.text = sceneInfoText; GUILayout.BeginHorizontal(); { GUILayout.Space(CreatorEditorStyles.Indent); EditorGUILayout.LabelField(helpContent, CreatorEditorStyles.Label, GUILayout.MinHeight(MinHeightOfInfoText)); } GUILayout.EndHorizontal(); } GUILayout.EndArea(); }