Skip to main content

Class BaseFloatMeanVariable<T>

Abstract base class for calculating the average of a collection of float-based scriptable variables.

public abstract class BaseFloatMeanVariable<T> : BaseMeanValueVariable<T, float>, IAddable<float>, ISubtractable<float> where T : BaseScriptableVariable<float>

Type Parameters​

NameTypeDescription
TThe type of scriptable variable used, which must derive from BaseScriptableVariable.

Inheritance​

Implements​

Inherited Members​

Properties​

AverageValue​

Gets the average runtime value across all referenced float variables.

protected override float AverageValue { get; }

Property Value​

float