Highroad Engine v1.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MoreMountains.Tools.MMPropertyReceiverDrawer Class Reference
Inheritance diagram for MoreMountains.Tools.MMPropertyReceiverDrawer:
MoreMountains.Tools.MMPropertyPickerDrawer

Public Member Functions

override float AdditionalHeight ()
 Defines the height of the drawer More...
 
- Public Member Functions inherited from MoreMountains.Tools.MMPropertyPickerDrawer
override float GetPropertyHeight (SerializedProperty property, GUIContent label)
 Defines the height of the drawer More...
 

Protected Member Functions

override void FillAuthorizedTypes ()
 
override void DisplayAdditionalProperties (Rect position, SerializedProperty property, GUIContent label)
 Draws the inspector More...
 
- Protected Member Functions inherited from MoreMountains.Tools.MMPropertyPickerDrawer
virtual void Initialization (SerializedProperty property)
 Initializes the dropdowns More...
 
virtual void DrawLevelProgressBar (Rect position, float level, Color frontColor, Color negativeColor)
 
virtual void FillComponentsList (SerializedProperty property)
 Fills a list of all the components on the target object More...
 
virtual void FillPropertyList (SerializedProperty property)
 Fills a list of all properties and fields on the target component More...
 
virtual void SetTargetProperty (SerializedProperty property)
 Sets the target property More...
 
virtual void SetTargetComponent (SerializedProperty property)
 Sets the target component More...
 
virtual void GetComponentIndex (SerializedProperty property)
 Gets the component index More...
 
virtual void GetPropertyIndex (SerializedProperty property)
 Gets the property index More...
 
virtual Type GetPropertyType (SerializedProperty property)
 

Protected Attributes

Color _mmYellow = new Color(1f, 0.7686275f, 0f)
 
Color _mmRed = MMColors.Orangered
 
- Protected Attributes inherited from MoreMountains.Tools.MMPropertyPickerDrawer
UnityEngine.Object _TargetObject
 
GameObject _TargetGameObject
 
int _selectedComponentIndex = 0
 
int _selectedPropertyIndex = 0
 
bool _initialized = false
 
string[] _componentNames
 
List< Component > _componentList
 
string[] _propertiesNames
 
List< string > _propertiesList
 
Type _propertyType = null
 
int _numberOfLines = 0
 
Color _progressBarBackground = new Color(0, 0, 0, 0.5f)
 
Type[] _authorizedTypes
 
bool _targetIsScriptableObject
 

Additional Inherited Members

- Static Public Attributes inherited from MoreMountains.Tools.MMPropertyPickerDrawer
const string _undefinedComponentString = "<Undefined Component>"
 
const string _undefinedPropertyString = "<Undefined Property>"
 
- Static Protected Member Functions inherited from MoreMountains.Tools.MMPropertyPickerDrawer
static bool AuthorizedType (Type[] typeArray, Type checkedType)
 
- Static Protected Attributes inherited from MoreMountains.Tools.MMPropertyPickerDrawer
const int _lineHeight = 20
 
const int _lineMargin = 2
 

Member Function Documentation

◆ AdditionalHeight()

override float MoreMountains.Tools.MMPropertyReceiverDrawer.AdditionalHeight ( )
virtual

Defines the height of the drawer

Parameters
property
label
Returns

Reimplemented from MoreMountains.Tools.MMPropertyPickerDrawer.

◆ DisplayAdditionalProperties()

override void MoreMountains.Tools.MMPropertyReceiverDrawer.DisplayAdditionalProperties ( Rect  position,
SerializedProperty  property,
GUIContent  label 
)
protectedvirtual

Draws the inspector

Parameters
position
property
label

Reimplemented from MoreMountains.Tools.MMPropertyPickerDrawer.

◆ FillAuthorizedTypes()

override void MoreMountains.Tools.MMPropertyReceiverDrawer.FillAuthorizedTypes ( )
protectedvirtual

Member Data Documentation

◆ _mmRed

Color MoreMountains.Tools.MMPropertyReceiverDrawer._mmRed = MMColors.Orangered
protected

◆ _mmYellow

Color MoreMountains.Tools.MMPropertyReceiverDrawer._mmYellow = new Color(1f, 0.7686275f, 0f)
protected

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