A passive component that listens to object-related events inside the whole Hype.
Example 1: Each time an object from the red group is destroyed, output Value On Destroy forward.
Example 2: Another component is emitting objects that belong to the yellow group. Each time an object from the yellow group is created, output the Value On Create forward.
Usage Example 1: My Hype has multiple enemies the player must destroy. Enemy count is visible through a Text component. Each time an enemy is destroyed, the Object Observer executes a Math Operator and updates the Text value.
Enabled | Determines if the component is executable. |
Listen To Group | Object group to listen to events from. |
On Object Created | Executes when new object in the Listen Group is created. Outputs reference to the created object. |
On Object Destroyed | Executes when new object in the Listen Group is destroyed. Outputs reference to the destroyed object. |