C# Class UnityCommonEditorLibrary.Inspectors.RelativesOnlyAttributeDrawer

Inheritance: UnityEditor.PropertyDrawer
Show file Open project: thebeardphantom/UnityCommonLibrary

Public Methods

Method Description
OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void

Private Methods

Method Description
OnEnable ( ) : void
ProcessRules ( UnityEditor.SerializedProperty property, GameObject obj ) : bool

Ensures that the rules set by the attribute are being followed.

Method Details

OnGUI() public method

public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
position UnityEngine.Rect
property UnityEditor.SerializedProperty
label UnityEngine.GUIContent
return void