UnityEditor.PropertyDrawer.OnGUI C# (CSharp) Method

OnGUI() public method

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

public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
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.
return void
        public virtual void OnGUI(Rect position, SerializedProperty property, GUIContent label)
        {
            EditorGUI.DefaultPropertyField(position, property, label);
            EditorGUI.LabelField(position, label, EditorGUIUtility.TempContent("No GUI Implemented"));
        }