Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
Loading...
Searching...
No Matches
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.
virtual object GetRawValue ()
 Returns the raw value of the target property.

Public Attributes

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

Protected Attributes

MMProperty _targetMMProperty
bool _initialized = false
MMPropertyLink _propertySetter

Properties

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

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:
  • H:/Code/MoreMountains/feel/Assets/Feel/MMTools/Core/MMRadio/MMProperty/MMPropertyPicker/MMPropertyPicker.cs