Transition boundary demo
Open Scenes/06_TransitionsAndInterrupts.unity and enter Play. Four TownGuard actors share a looping Idle and an Attack action. The first two retain their existing 9.6-second state period; the last two use a four-second period. Demo06 owns an Idle clip copy so rebuilding it does not depend on another demo's animation revision.
Use the bottom toolbar to switch Complex transitions (4 columns) / Any State interruption. The second page retains the original two-second Idle -> Move blend and Hit trigger after 0.6 seconds of blending. The four-column page and all authored transition parameters are preserved. Each page starts with a fresh scope and pose history; they never share a control singleton. Pages/AnyStateInterrupt retains its authoring and script; resource keys remain stable.
| Actor | Automatic trigger | Transition |
|---|---|---|
| 1 | 1 second | Immediate, fixed duration 0.35 seconds |
| 2 | 1 second | Exit Time 0.75 at 7.2 seconds, normalized duration 0.25 |
| 3 | 1 second | Exit Time 2.25, after two complete Idle loops |
| 4 | 4.2 seconds | Next Exit Time 0.75 at 7 seconds, zero duration, destination offset 0.5 |
The sequence repeats every 16 seconds. Turn off Automatic sequence and use Trigger all actors to test admission at another loop phase. Actor 3's Exit Time is evaluated once on each state entry; triggering after the 2.25 crossing cannot make it leave Idle until that state is entered again.
Edit the source Controllers in Authoring, then rebuild the corresponding source Prefabs with Convert Character. Source Controller edits are offline inputs: they do not modify an already prepared runtime instance. Project-local builders/tests are excluded from distributed samples.
Demo06 demonstrates transition interruption; Demo07 demonstrates nested routing; Demo08 compares three-layer Sync to Base or an independent Layer2, with Timing and separate weight controls. The full project-local test matrix includes combinations not exposed as demo controls. IK, Root Motion and StateMachineBehaviour callbacks remain omitted by conversion. This demo does not establish complete Unity Animator equivalence.