Control

Control

Access PathLibrary.Control

Description
The representation of the Path runtime. Access to all loaded Path data is routed through here. Notice that Control is a singleton – its instance is available via Control.Instance.

Methods
NetworkAsset GetNetwork( string networkName )
ArrayList GetNetworks( string networkName )
NetworkNodeAsset NearestNode( Vector3 position, Seeker seeker )
bool StartSeeker( Seeker seeker )
void UncacheSeeker( Seeker seeker )
void RecalculateNetwork( NetworkAsset network )
void RecalculateNetworks( ArrayList networks )
void RecalculateNode( NetworkNodeAsset node )
void RecalculateNodes( ArrayList nodes )
void RecalculateConnection( ConnectionAsset connection )
void RecalculateConnections( ArrayList connections )

Properties
Control Instance
float SeekerCacheLifespan
bool AutoRecalculate
int IdleSeekers
int ActiveSeekers
int UsedSeekers
int CachedSeekers

Constants
float NoCache
float IndefinitelyCache