Class EditorLayerExtensions
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Editor
Assembly: cs.temp.dll.dll
Syntax
public static class EditorLayerExtensions
Properties
TagManagerLayers
The current layers defined in the Tag Manager.
Declaration
public static UnityEditor.SerializedProperty TagManagerLayers { get; }
Property Value
Type | Description |
---|---|
UnityEditor.SerializedProperty |
TagManagerLayers
The current layers defined in the Tag Manager.
Declaration
public static UnityEditor.SerializedProperty TagManagerLayers { get; }
Property Value
Type | Description |
---|---|
UnityEditor.SerializedProperty |
Methods
RemoveLayer(String)
Attempts to remove the layer from the Project Settings Tag Manager.
Declaration
public static void RemoveLayer(string layerName)
Parameters
Type | Name | Description |
---|---|---|
String | layerName |
RemoveLayer(String)
Attempts to remove the layer from the Project Settings Tag Manager.
Declaration
public static void RemoveLayer(string layerName)
Parameters
Type | Name | Description |
---|---|---|
String | layerName |
SetupLayer(Int32, String)
Attempts to set the layer in Project Settings Tag Manager.
Declaration
public static bool SetupLayer(int layerId, string layerName)
Parameters
Type | Name | Description |
---|---|---|
Int32 | layerId | The layer Id to attempt to set the layer on. |
String | layerName | The layer name to attempt to set the layer on. |
Returns
Type | Description |
---|---|
Boolean | True if the specified layerId was newly configured, false otherwise. |
SetupLayer(Int32, String)
Attempts to set the layer in Project Settings Tag Manager.
Declaration
public static bool SetupLayer(int layerId, string layerName)
Parameters
Type | Name | Description |
---|---|---|
Int32 | layerId | The layer Id to attempt to set the layer on. |
String | layerName | The layer name to attempt to set the layer on. |
Returns
Type | Description |
---|---|
Boolean | True if the specified layerId was newly configured, false otherwise. |