Skip to content

Commit

Permalink
Remove tag manager code from EditorXR.HandleInitialization
Browse files Browse the repository at this point in the history
  • Loading branch information
mtschoen-unity committed Jan 6, 2020
1 parent b98f8de commit a13f11b
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 a13f11b

Please sign in to comment.