Photon Quantum 3.0.0

Public Member Functions | List of all members
Quantum.ISignalOnNavMeshSearchFailed Interface Reference
Inheritance diagram for Quantum.ISignalOnNavMeshSearchFailed:
Quantum.ISignal

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...
 

Detailed Description

Member Function Documentation

◆ OnNavMeshSearchFailed()

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.

Parameters
fThe frame reference.
entityThe entity the navmesh agent component belongs to
resetAgentSet this to true if the agent should reset its internal state (default is true).