Skip to main content

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​

Implements​

Inherited Members​

Remarks​

Computes the live average of all assigned float variables.

Properties​

AverageValue​

Gets the average runtime value of all referenced float variables.

protected override float AverageValue { get; }

Property Value​

float