Skip to content

ScriptableFloatListener Class

A ScriptableValueListener<TValue> that listens to a ScriptableValue<T> with a type of float and invokes an UnityEngine.Events.UnityEvent when the value changes.

C#
[AddComponentMenu("Scriptable Values/Listeners/Values/Scriptable Float Listener", 1008)]
public sealed class ScriptableFloatListener : ScriptableValueListener<float>

Inheritance object → UnityEngine.Object → UnityEngine.Component → UnityEngine.Behaviour → UnityEngine.MonoBehaviour → ScriptableListenerBaseScriptableValueListener<float>