We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 080b3f2 + b9fe029 commit 74eed75Copy full SHA for 74eed75
Assets/MixedRealityToolkit/Inspectors/Setup/MixedRealityEditorSettings.cs
@@ -27,6 +27,15 @@ static MixedRealityEditorSettings()
27
// Detect when we enter player mode so we can try checking for optimal configuration
28
EditorApplication.playModeStateChanged += OnPlayStateModeChanged;
29
30
+ // Subscribe to editor application update which will call us once the editor is initialized and running
31
+ EditorApplication.update += OnInit;
32
+ }
33
+
34
+ private static void OnInit()
35
+ {
36
+ // We only want to execute once to initialize, unsubscribe from update event
37
+ EditorApplication.update -= OnInit;
38
39
ShowProjectConfigurationDialog();
40
}
41
0 commit comments