Class FeedbackScoreVariable
A scriptable object representing a feedback score calculated from a metric and an animation curve.
[CreateAssetMenu(fileName = "New FeedBackScoreVariable", menuName = "ScriptableObject/Scriptable/Variable/Feedback/ScoreVariable")]
public class FeedbackScoreVariable : FloatVariable, IAddable<float>, ISubtractable<float>
Inheritance
object→Object→ScriptableObject→BaseScriptableVariable→BaseScriptableVariable<float>→FloatVariable→FeedbackScoreVariableImplements
Inherited Members
- 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()
Fields
curve
The animation curve used to convert the metric's runtime value into a score.
public AnimationCurveScriptableObject curve
Field Value
metric
The metric variable whose runtime value is evaluated by the curve.
public FloatVariable metric