EditorGUILayout.LayerFieldstatic function LayerField (layer : int, params options : GUILayoutOption[]) : intstatic function LayerField (layer : int, style : GUIStyle, params options : GUILayoutOption[]) : intstatic function LayerField (label : String, layer : int, params options : GUILayoutOption[]) : intstatic function LayerField (label : String, layer : int, style : GUIStyle, params options : GUILayoutOption[]) : intstatic function LayerField (label : GUIContent, layer : int, params options : GUILayoutOption[]) : intstatic function LayerField (label : GUIContent, layer : int, style : GUIStyle, params options : GUILayoutOption[]) : intParameters
Returnsint - The layer selected by the user. DescriptionMake a layer selection field.
// Simple editor script that lets you set the layer for the selected GameObjects.
|

