TopDown Engine  v4.2
MoreMountains.Tools.MMPropertyPicker Class Reference

A class used to pick a property on a target object / component / scriptable object More...

Inheritance diagram for MoreMountains.Tools.MMPropertyPicker:
MoreMountains.Tools.MMPropertyEmitter MoreMountains.Tools.MMPropertyReceiver

Public Member Functions

virtual void Initialization (GameObject source)
 When the property picker gets initialized, it grabs the stored property or field and initializes a MMProperty and MMPropertyLink More...
 
virtual object GetRawValue ()
 Returns the raw value of the target property More...
 

Public Attributes

UnityEngine.Object TargetObject
 the target object to look for a property on More...
 
Component TargetComponent
 the component to look for a property on | storage only, not displayed in the inspector More...
 
ScriptableObject TargetScriptableObject
 the component to look for a property on | storage only, not displayed in the inspector More...
 
string TargetPropertyName
 the name of the property to link to More...
 

Protected Attributes

MMProperty _targetMMProperty
 
bool _initialized = false
 
MMPropertyLink _propertySetter
 

Properties

virtual bool PropertyFound [get, protected set]
 whether or not this property has been found More...
 

Detailed Description

A class used to pick a property on a target object / component / scriptable object

Member Function Documentation

◆ GetRawValue()

virtual object MoreMountains.Tools.MMPropertyPicker.GetRawValue ( )
virtual

Returns the raw value of the target property

Returns

◆ Initialization()

virtual void MoreMountains.Tools.MMPropertyPicker.Initialization ( GameObject  source)
virtual

When the property picker gets initialized, it grabs the stored property or field and initializes a MMProperty and MMPropertyLink

Parameters
source

Member Data Documentation

◆ _initialized

bool MoreMountains.Tools.MMPropertyPicker._initialized = false
protected

◆ _propertySetter

MMPropertyLink MoreMountains.Tools.MMPropertyPicker._propertySetter
protected

◆ _targetMMProperty

MMProperty MoreMountains.Tools.MMPropertyPicker._targetMMProperty
protected

◆ TargetComponent

Component MoreMountains.Tools.MMPropertyPicker.TargetComponent

the component to look for a property on | storage only, not displayed in the inspector

◆ TargetObject

UnityEngine.Object MoreMountains.Tools.MMPropertyPicker.TargetObject

the target object to look for a property on

◆ TargetPropertyName

string MoreMountains.Tools.MMPropertyPicker.TargetPropertyName

the name of the property to link to

◆ TargetScriptableObject

ScriptableObject MoreMountains.Tools.MMPropertyPicker.TargetScriptableObject

the component to look for a property on | storage only, not displayed in the inspector

Property Documentation

◆ PropertyFound

virtual bool MoreMountains.Tools.MMPropertyPicker.PropertyFound
getprotected set

whether or not this property has been found


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