TopDown Engine
v4.2
|
A class used to pick a property and modify its value More...
Public Member Functions | |
float | GetLevel () |
virtual void | SetLevel (float newLevel) |
Sets the level More... | |
Public Member Functions inherited from MoreMountains.Tools.MMPropertyPicker | |
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 | |
bool | ShouldModifyValue = true |
values will only be modified if this is true More... | |
bool | RelativeValue = true |
whether or not to add to this property's initial value More... | |
bool | ModifyX = true |
whether or not to modify the X value of this vector More... | |
bool | ModifyY = true |
whether or not to modify the Y value of this vector More... | |
bool | ModifyZ = true |
whether or not to modify the Z value of this vector More... | |
bool | ModifyW = true |
whether or not to modify the W value of this vector More... | |
float | Threshold = 0.5f |
the threshold after which the float level should make this bool false or true More... | |
bool | BoolRemapZero = false |
the state to remap a float's zero to More... | |
bool | BoolRemapOne = true |
the state to remap a float's one to More... | |
string | StringRemapZero = "Zero" |
the string to remap a float's zero to More... | |
string | StringRemapOne = "One" |
the string to remap a float's zero to More... | |
int | IntRemapZero = 0 |
the int value to remap the level's zero to More... | |
int | IntRemapOne = 1 |
the int value to remap the level's 1 to More... | |
float | FloatRemapZero = 0f |
the float value to remap the level's 0 to More... | |
float | FloatRemapOne = 1f |
the float value to remap the level's 1 to More... | |
Vector2 | Vector2RemapZero = Vector2.zero |
the vector2 value to remap the level's 0 to More... | |
Vector2 | Vector2RemapOne = Vector2.one |
the vector2 value to remap the level's 1 to More... | |
Vector3 | Vector3RemapZero = Vector3.zero |
the vector3 value to remap the level's 0 to More... | |
Vector3 | Vector3RemapOne = Vector3.one |
the vector3 value to remap the level's 1 to More... | |
Vector4 | Vector4RemapZero = Vector4.zero |
the vector4 value to remap the level's 0 to More... | |
Vector4 | Vector4RemapOne = Vector4.one |
the vector4 value to remap the level's 1 to More... | |
Vector3 | QuaternionRemapZero = Vector3.zero |
the quaternion value to remap the level's 0 to More... | |
Vector3 | QuaternionRemapOne = new Vector3(180f, 180f, 180f) |
the quaternion value to remap the level's 1 to More... | |
Color | ColorRemapZero = Color.white |
the color value to remap the level's 0 to More... | |
Color | ColorRemapOne = Color.black |
the color value to remap the level's 1 to More... | |
float | Level = 0f |
the current level More... | |
Public Attributes inherited from MoreMountains.Tools.MMPropertyPicker | |
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... | |
Additional Inherited Members | |
Protected Attributes inherited from MoreMountains.Tools.MMPropertyPicker | |
MMProperty | _targetMMProperty |
bool | _initialized = false |
MMPropertyLink | _propertySetter |
Properties inherited from MoreMountains.Tools.MMPropertyPicker | |
virtual bool | PropertyFound [get, protected set] |
whether or not this property has been found More... | |
A class used to pick a property and modify its value
float MoreMountains.Tools.MMPropertyReceiver.GetLevel | ( | ) |
|
virtual |
Sets the level
newLevel |
bool MoreMountains.Tools.MMPropertyReceiver.BoolRemapOne = true |
the state to remap a float's one to
bool MoreMountains.Tools.MMPropertyReceiver.BoolRemapZero = false |
the state to remap a float's zero to
Color MoreMountains.Tools.MMPropertyReceiver.ColorRemapOne = Color.black |
the color value to remap the level's 1 to
Color MoreMountains.Tools.MMPropertyReceiver.ColorRemapZero = Color.white |
the color value to remap the level's 0 to
float MoreMountains.Tools.MMPropertyReceiver.FloatRemapOne = 1f |
the float value to remap the level's 1 to
float MoreMountains.Tools.MMPropertyReceiver.FloatRemapZero = 0f |
the float value to remap the level's 0 to
int MoreMountains.Tools.MMPropertyReceiver.IntRemapOne = 1 |
the int value to remap the level's 1 to
int MoreMountains.Tools.MMPropertyReceiver.IntRemapZero = 0 |
the int value to remap the level's zero to
float MoreMountains.Tools.MMPropertyReceiver.Level = 0f |
the current level
bool MoreMountains.Tools.MMPropertyReceiver.ModifyW = true |
whether or not to modify the W value of this vector
bool MoreMountains.Tools.MMPropertyReceiver.ModifyX = true |
whether or not to modify the X value of this vector
bool MoreMountains.Tools.MMPropertyReceiver.ModifyY = true |
whether or not to modify the Y value of this vector
bool MoreMountains.Tools.MMPropertyReceiver.ModifyZ = true |
whether or not to modify the Z value of this vector
Vector3 MoreMountains.Tools.MMPropertyReceiver.QuaternionRemapOne = new Vector3(180f, 180f, 180f) |
the quaternion value to remap the level's 1 to
Vector3 MoreMountains.Tools.MMPropertyReceiver.QuaternionRemapZero = Vector3.zero |
the quaternion value to remap the level's 0 to
bool MoreMountains.Tools.MMPropertyReceiver.RelativeValue = true |
whether or not to add to this property's initial value
bool MoreMountains.Tools.MMPropertyReceiver.ShouldModifyValue = true |
values will only be modified if this is true
string MoreMountains.Tools.MMPropertyReceiver.StringRemapOne = "One" |
the string to remap a float's zero to
string MoreMountains.Tools.MMPropertyReceiver.StringRemapZero = "Zero" |
the string to remap a float's zero to
float MoreMountains.Tools.MMPropertyReceiver.Threshold = 0.5f |
the threshold after which the float level should make this bool false or true
Vector2 MoreMountains.Tools.MMPropertyReceiver.Vector2RemapOne = Vector2.one |
the vector2 value to remap the level's 1 to
Vector2 MoreMountains.Tools.MMPropertyReceiver.Vector2RemapZero = Vector2.zero |
the vector2 value to remap the level's 0 to
Vector3 MoreMountains.Tools.MMPropertyReceiver.Vector3RemapOne = Vector3.one |
the vector3 value to remap the level's 1 to
Vector3 MoreMountains.Tools.MMPropertyReceiver.Vector3RemapZero = Vector3.zero |
the vector3 value to remap the level's 0 to
Vector4 MoreMountains.Tools.MMPropertyReceiver.Vector4RemapOne = Vector4.one |
the vector4 value to remap the level's 1 to
Vector4 MoreMountains.Tools.MMPropertyReceiver.Vector4RemapZero = Vector4.zero |
the vector4 value to remap the level's 0 to