![]() |
Runtime Navmesh Baker 1.3.0
Generic Runtime spawn and instance pooling system for spawning random AI agents around a map. Works with ANY AI system easily.
|
Global event hub for runtime baking. More...
Events | |
static Action< DynamicNavMeshSurface, Bounds > | OnBakeStarted |
Raised when a per-tile bake starts. | |
static Action< DynamicNavMeshSurface, Bounds, float > | OnBakeCompleted |
Raised when a per-tile bake completes successfully. | |
static Action< DynamicNavMeshSurface, Bounds, string > | OnBakeFailed |
Raised when a bake fails or is skipped. | |
static Action< int, Bounds > | OnCombinedBakeStarted |
Raised when a combined-window bake starts. | |
static Action< int, Bounds, float > | OnCombinedBakeCompleted |
Raised when a combined-window bake completes successfully. | |
Global event hub for runtime baking.
The NavMeshBakerService raises these events whenever a per-tile or combined bake starts, completes, or fails.
Subscribe to these events to coordinate gameplay logic with navmesh availability (e.g., spawning agents only after a bake completes).
|
static |
Raised when a per-tile bake completes successfully.
surface | The surface that completed (may be null in combined mode). |
bounds | The world-space bounds of the bake. |
seconds | Duration in seconds from async start to completion. |
|
static |
Raised when a bake fails or is skipped.
surface | The surface associated with the failure (may be null). |
bounds | The attempted world-space bounds. |
reason | Textual reason (e.g., "no sources"). |
|
static |
Raised when a per-tile bake starts.
surface | The surface being baked (may be null in combined mode). |
bounds | The world-space bounds of the bake request. |
|
static |
Raised when a combined-window bake completes successfully.
agentTypeId | The agent type baked. |
bounds | The world-space bounds of the combined window. |
seconds | Duration in seconds from async start to completion. |
|
static |
Raised when a combined-window bake starts.
agentTypeId | The agent type being baked. |
bounds | The world-space bounds of the combined window. |