Getting started
Requirements
- Unity 2022.3 or newer
- No external dependencies (
dependencies: {})
Install
Unity Package Manager → Add package from git URL:
Or directly in Packages/manifest.json:
Your first loop
Attach this component to an empty GameObject and a grass fire starts spreading.
The order of the three Tick calls is always tension → director → world. The director reads this
frame's tension and seeds conditions; the world picks them up and spreads.
Feeding damage into tension
When the player is hit, spike the tension immediately.
Swapping data
Rule tables, actions and thresholds all live in data centers with built-in defaults, so it runs with no setup. To use your own values, just register them at startup.
Import the sample
Package Manager → Tempo → Samples → Basic Grass Fire. Import it and the
BasicGrassFireDirector component lets you watch tension, phase and spread on screen.
Next
- World reaction for the spread rules in depth.
- Director to customize phases and actions.