A class in Root.Township, the global namespace.
Pauses and resumes a Walker, with a timer that unpauses it after maximumPauseDuration. No code calls it, so probably wired to animation or Unity events.
Constructors
| Member | What it is |
|---|
WalkerStepping() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
| Member | What it is |
|---|
private Timeline.IEntry forceUnpause | Timeline entry for the automatic unpause. |
private float maximumPauseDuration | Seconds before a pause ends by itself. 0 or less means no limit. |
private Walker walker | The walker to pause. |
Methods
| Member | What it is |
|---|
void Pause() | Pauses the walker and, if maximumPauseDuration is above 0, schedules an automatic unpause. |
void Unpause() | Cancels the timer and unpauses the walker. |