Skip to content

ScriptableBoolListener Class

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

C#
[AddComponentMenu("Scriptable Values/Listeners/Values/Scriptable Bool Listener", 1011)]
public sealed class ScriptableBoolListener : ScriptableValueListener<bool>

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