Modular Architecture V1.0.0
Loading...
Searching...
No Matches
ModularArchitecture.Editor.ConditionDrawer Class Reference
Inheritance diagram for ModularArchitecture.Editor.ConditionDrawer:

Public Member Functions

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)

Member Function Documentation

◆ 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
aPropertyThe Reference property to overwrite the type of
aReferenceTypeThe system type that the reference property should become

The documentation for this class was generated from the following file:
  • Editor/Drawers/ConditionDrawer.cs