Modifica

Condividi tramite


TagPropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent) Method

Definition

Override this method to make your own GUI for the property.

public:
 override void OnGUI(UnityEngine::Rect position, UnityEditor::SerializedProperty ^ property, UnityEngine::GUIContent ^ label);
public override void OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label);
override this.OnGUI : UnityEngine.Rect * UnityEditor.SerializedProperty * UnityEngine.GUIContent -> unit
Public Overrides Sub OnGUI (position As Rect, property As SerializedProperty, label As GUIContent)

Parameters

position
UnityEngine.Rect

Rectangle on the screen to use for the property GUI.

property
UnityEditor.SerializedProperty

The SerializedProperty to make the custom GUI for.

label
UnityEngine.GUIContent

The label of this property.

Applies to