|
| void | SetReferenceType (SerializedProperty aProperty, System.Type aReferenceType) |
| | Overwrites the serialized property type of a property to the given reference type if the property is null or not already that type.
Used to define what dataReference type the subject and target of a condition will be based on the Condition's type property.
|
| override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
| override float | GetPropertyHeight (SerializedProperty property, GUIContent label) |
◆ GetPropertyHeight()
| override float ModularArchitecture.Editor.ConditionDrawer.GetPropertyHeight |
( |
SerializedProperty | property, |
|
|
GUIContent | label ) |
|
inline |
◆ OnGUI()
| override void ModularArchitecture.Editor.ConditionDrawer.OnGUI |
( |
Rect | position, |
|
|
SerializedProperty | property, |
|
|
GUIContent | label ) |
|
inline |
◆ SetReferenceType()
| void ModularArchitecture.Editor.ConditionDrawer.SetReferenceType |
( |
SerializedProperty | aProperty, |
|
|
System.Type | aReferenceType ) |
|
inline |
Overwrites the serialized property type of a property to the given reference type if the property is null or not already that type.
Used to define what dataReference type the subject and target of a condition will be based on the Condition's type property.
- Parameters
-
| aProperty | The Reference property to overwrite the type of |
| aReferenceType | The system type that the reference property should become |
The documentation for this class was generated from the following file:
- Editor/Drawers/ConditionDrawer.cs