A class used to pick a property on a target object / component / scriptable object.
More...
Inherited by MoreMountains.Tools.MMPropertyEmitter, and MoreMountains.Tools.MMPropertyReceiver.
|
virtual void | Initialization (GameObject source) |
| When the property picker gets initialized, it grabs the stored property or field and initializes a MMProperty and MMPropertyLink.
|
virtual object | GetRawValue () |
| Returns the raw value of the target property.
|
|
UnityEngine.Object | TargetObject |
| the target object to look for a property on
|
Component | TargetComponent |
| the component to look for a property on | storage only, not displayed in the inspector
|
ScriptableObject | TargetScriptableObject |
| the component to look for a property on | storage only, not displayed in the inspector
|
string | TargetPropertyName |
| the name of the property to link to
|
|
virtual bool | PropertyFound [get, protected set] |
| whether or not this property has been found
|
A class used to pick a property on a target object / component / scriptable object.
◆ 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
-
◆ _initialized
bool MoreMountains.Tools.MMPropertyPicker._initialized = false |
|
protected |
◆ _propertySetter
◆ _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
◆ 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:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Core/MMRadio/MMProperty/MMPropertyPicker/MMPropertyPicker.cs