On Runner Variable Change
Triggered when a State Machine Runner variable changes
Executed when the State Machine Runner Variable is modified.
Description
This event fires whenever a variable on a specific State Machine Runner is changed. Use this to react to per-instance state changes.
Parameters
Name
Description
Variable
The variable to monitor for changes
Runner
The target GameObject containing the State Machine Runner
Keywords
Variable, Change, State Machine, Runner
Example
Trigger Component:
โโ Event: On State Machine Runner Variable Change
โ โโ Variable: "Health"
โ โโ Runner: Self
โโ Actions:
โโ Update health bar UI
โโ Play damage effect if health decreasedThis is the most common event for reactive gameplay systems. Use it to:
Update UI when stats change
Trigger effects when state changes
Sync visuals with game logic
Last updated
Was this helpful?