Public Member Functions | |
void | OnNavMeshSearchFailed (Frame f, EntityRef entity, ref bool resetAgent) |
Signal is called when the agent could not find a path in the agent update after using NavMeshPathfinder.SetTarget More... | |
Additional Inherited Members | |
Properties inherited from Quantum.ISignal | |
Int32 | RuntimeIndex [get] |
Index of the signal in the runtime. More... | |
void Quantum.ISignalOnNavMeshSearchFailed.OnNavMeshSearchFailed | ( | Frame | f, |
EntityRef | entity, | ||
ref bool | resetAgent | ||
) |
Signal is called when the agent could not find a path in the agent update after using NavMeshPathfinder.SetTarget
Requires enabled Navigation.Config.EnableNavigationCallbacks in SimulationConfig.Navigation.
f | The frame reference. |
entity | The entity the navmesh agent component belongs to |
resetAgent | Set this to true if the agent should reset its internal state (default is true). |