Class FloatMeanVariable
A scriptable object that represents the mean (average) value of multiple float-based scriptable variables.
[CreateAssetMenu(fileName = "New FloatMeanVariable", menuName = "ScriptableObject/Scriptable/Variable/MeanVariable")]
public class FloatMeanVariable : BaseFloatMeanVariable<BaseScriptableVariable<float>>, IAddable<float>, ISubtractable<float>
Inheritance
object→Object→ScriptableObject→BaseScriptableVariable→BaseScriptableVariable<float>→FloatVariable→BaseMeanValueVariable<BaseScriptableVariable<float>, float>→BaseFloatMeanVariable<BaseScriptableVariable<float>>→FloatMeanVariableImplements
Inherited Members
- BaseFloatMeanVariable<BaseScriptableVariable<float>>.AverageValue
- BaseMeanValueVariable<BaseScriptableVariable<float>, float>.variables
- BaseMeanValueVariable<BaseScriptableVariable<float>, float>.AverageValue
- BaseMeanValueVariable<BaseScriptableVariable<float>, float>.IsValid()
- BaseMeanValueVariable<BaseScriptableVariable<float>, float>.RuntimeValue
- FloatVariable.Add(float)
- FloatVariable.Subtract(float)
- BaseScriptableVariable<float>.InitialValue
- BaseScriptableVariable<float>.RuntimeValue
- BaseScriptableVariable<float>.ResetRunTimeValue()
- BaseScriptableVariable<float>.GetValue()
- BaseScriptableVariable<float>.IsValid()
- BaseScriptableVariable<float>.OnAfterDeserialize()
- BaseScriptableVariable<float>.OnBeforeSerialize()
- BaseScriptableVariable.GetValue()
- BaseScriptableVariable.IsValid()
Remarks
Computes the live average of all assigned float variables.