TopDown Engine  v3.6
MoreMountains.Tools.MMPropertyPickerDrawer Class Reference
Inheritance diagram for MoreMountains.Tools.MMPropertyPickerDrawer:
MoreMountains.Tools.MMPropertyEmitterDrawer MoreMountains.Tools.MMPropertyReceiverDrawer

Classes

class  PropertyPickerViewData
 

Public Member Functions

override float GetPropertyHeight (SerializedProperty property, GUIContent label)
 Defines the height of the drawer More...
 
virtual float AdditionalHeight (PropertyPickerViewData viewData)
 

Protected Member Functions

virtual void Initialization (SerializedProperty property, PropertyPickerViewData viewData)
 Initializes the dropdowns More...
 
virtual void FillAuthorizedTypes (PropertyPickerViewData viewData)
 
virtual void DisplayAdditionalProperties (Rect position, SerializedProperty property, GUIContent label, PropertyPickerViewData viewData)
 
virtual void DrawLevelProgressBar (Rect position, float level, Color frontColor, Color negativeColor, PropertyPickerViewData viewData)
 
virtual void FillComponentsList (SerializedProperty property, PropertyPickerViewData viewData)
 Fills a list of all the components on the target object More...
 
virtual void FillPropertyList (SerializedProperty property, PropertyPickerViewData viewData)
 Fills a list of all properties and fields on the target component More...
 
virtual void SetTargetProperty (SerializedProperty property, PropertyPickerViewData viewData)
 Sets the target property More...
 
virtual void SetTargetComponent (SerializedProperty property, PropertyPickerViewData viewData)
 Sets the target component More...
 
virtual void GetComponentIndex (SerializedProperty property, PropertyPickerViewData viewData)
 Gets the component index More...
 
virtual void GetPropertyIndex (SerializedProperty property, PropertyPickerViewData viewData)
 Gets the property index More...
 
virtual Type GetPropertyType (SerializedProperty property, PropertyPickerViewData viewData)
 

Static Protected Member Functions

static bool AuthorizedType (Type[] typeArray, Type checkedType)
 

Member Function Documentation

◆ AdditionalHeight()

virtual float MoreMountains.Tools.MMPropertyPickerDrawer.AdditionalHeight ( PropertyPickerViewData  viewData)
virtual

◆ AuthorizedType()

static bool MoreMountains.Tools.MMPropertyPickerDrawer.AuthorizedType ( Type[]  typeArray,
Type  checkedType 
)
staticprotected

◆ DisplayAdditionalProperties()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.DisplayAdditionalProperties ( Rect  position,
SerializedProperty  property,
GUIContent  label,
PropertyPickerViewData  viewData 
)
protectedvirtual

◆ DrawLevelProgressBar()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.DrawLevelProgressBar ( Rect  position,
float  level,
Color  frontColor,
Color  negativeColor,
PropertyPickerViewData  viewData 
)
protectedvirtual

◆ FillAuthorizedTypes()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.FillAuthorizedTypes ( PropertyPickerViewData  viewData)
protectedvirtual

◆ FillComponentsList()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.FillComponentsList ( SerializedProperty  property,
PropertyPickerViewData  viewData 
)
protectedvirtual

Fills a list of all the components on the target object

Parameters
property

◆ FillPropertyList()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.FillPropertyList ( SerializedProperty  property,
PropertyPickerViewData  viewData 
)
protectedvirtual

Fills a list of all properties and fields on the target component

Parameters
property

◆ GetComponentIndex()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.GetComponentIndex ( SerializedProperty  property,
PropertyPickerViewData  viewData 
)
protectedvirtual

Gets the component index

Parameters
property

◆ GetPropertyHeight()

override float MoreMountains.Tools.MMPropertyPickerDrawer.GetPropertyHeight ( SerializedProperty  property,
GUIContent  label 
)

Defines the height of the drawer

Parameters
property
label
Returns

◆ GetPropertyIndex()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.GetPropertyIndex ( SerializedProperty  property,
PropertyPickerViewData  viewData 
)
protectedvirtual

Gets the property index

Parameters
property

◆ GetPropertyType()

virtual Type MoreMountains.Tools.MMPropertyPickerDrawer.GetPropertyType ( SerializedProperty  property,
PropertyPickerViewData  viewData 
)
protectedvirtual

◆ Initialization()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.Initialization ( SerializedProperty  property,
PropertyPickerViewData  viewData 
)
protectedvirtual

Initializes the dropdowns

Parameters
property

◆ SetTargetComponent()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.SetTargetComponent ( SerializedProperty  property,
PropertyPickerViewData  viewData 
)
protectedvirtual

Sets the target component

Parameters
property

◆ SetTargetProperty()

virtual void MoreMountains.Tools.MMPropertyPickerDrawer.SetTargetProperty ( SerializedProperty  property,
PropertyPickerViewData  viewData 
)
protectedvirtual

Sets the target property

Parameters
property

The documentation for this class was generated from the following file: