Skip to content

Commit 6d0d1b1

Browse files
Merge pull request #3030 from StephenHodgson/vNEXT-PlayModeSpeedup
Helped speed up play mode transition.
2 parents a20158f + 46891e3 commit 6d0d1b1

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)