Skip to content

Commit

Permalink
Merge pull request Unity-Technologies#11 from unity/optimize-startup
Browse files Browse the repository at this point in the history
Remove tag manager code from EditorXR.HandleInitialization
  • Loading branch information
mtschoen-unity authored and GitHub Enterprise committed Jan 14, 2020
2 parents f721f91 + a13f11b commit 345d704
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Runtime/Scripts/Core/EditorXR.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,22 +97,6 @@ static void HandleInitialization()
Debug.Log("<color=orange>EditorXR requires VR support. Please check Virtual Reality Supported in Edit->Project Settings->Player->XR Settings</color>");
#endif
}

// Add EVR tags and layers if they don't exist
#if UNITY_EDITOR
var tags = TagManager.GetRequiredTags();
var layers = TagManager.GetRequiredLayers();

foreach (var tag in tags)
{
TagManager.AddTag(tag);
}

foreach (var layer in layers)
{
TagManager.AddLayer(layer);
}
#endif
}

internal void Initialize()
Expand Down

0 comments on commit 345d704

Please sign in to comment.