Class NetworkNavMeshAgent
A prototype component for syncing NavMeshAgents
Inherited Members
Namespace: MLAPI.Prototyping
Assembly: Unity.Multiplayer.MLAPI.Prototyping.dll
Syntax
[AddComponentMenu("MLAPI/NetworkNavMeshAgent")]
public class NetworkNavMeshAgent : NetworkBehaviour
Fields
CorrectionDelay
The delay in seconds between corrections
Declaration
public float CorrectionDelay
Field Value
Type | Description |
---|---|
float |
DriftCorrectionPercentage
The percentage to lerp on corrections
Declaration
[Tooltip("Everytime a correction packet is received. This is the percentage (between 0 & 1) that we will move towards the goal.")]
public float DriftCorrectionPercentage
Field Value
Type | Description |
---|---|
float |
EnableProximity
Is proximity enabled
Declaration
public bool EnableProximity
Field Value
Type | Description |
---|---|
bool |
ProximityRange
The proximity range
Declaration
public float ProximityRange
Field Value
Type | Description |
---|---|
float |
WarpOnDestinationChange
Should we warp on destination change
Declaration
public bool WarpOnDestinationChange
Field Value
Type | Description |
---|---|
bool |