🔢Variable Listeners & Comparers
🚧 WIP 1.4.2c
Last updated
🚧 WIP 1.4.2c
Last updated
All variable listener and comparers are simple components that hold variable values, and react when these values change via Unity Events.
These are usually used to connect 3rdParty assets with AC, or Store variables that can be used by the Animal Brain.
Currently, these are available components:
Float Listener
Int Listener
Bool Listener
String Listener
Transform Listener
Vector3 Listener
Float Comparer
Int Comparer
Object Comparer
String Comparer
Transform Comparer
Value of the Listener, when the value changes, the events are raised.
The events are also raised On Enable
Identifier for the Listener component. This is useful to when there are more than one Listener of the same variable type attached to a GameObject.
The Right Button will show the events of each Listener Component.
Value of the Listener, when the value changes, the events are raised.
The events are also raised On Enable
The transform to listen to
Invoked when the value of the transform changes
Invoked when the transform's value is null
The X Y and Z values. When the value changes the events are raised.
Identifier for the Listener component. This is useful to when there are more than one Listener of the same variable type attached to a GameObject.