Skip to content

Commit 46891e3

Browse files
Helped speed up play mode transition.
We were saving the assets before entering play mode which added a few extra cycles
1 parent 00b7404 commit 46891e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Assets/MixedRealityToolkit/_Core/Utilities/Editor/Setup/.MixedRealityEditorSettings.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ public static string MixedRealityToolkit_RelativeFolderPath
4646

4747
static MixedRealityEditorSettings()
4848
{
49-
SetIconTheme();
50-
51-
if (!IsNewSession)
49+
if (!IsNewSession || Application.isPlaying)
5250
{
5351
return;
5452
}
5553

54+
SetIconTheme();
55+
5656
bool refresh = false;
5757
bool restart = false;
5858

0 commit comments

Comments
 (0)