Class CrowdObstacleAuthoring
Obstacle volume of crowd agents.
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.GetComponentIndex()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: ProjectDawn.Navigation.Hybrid
Assembly: ProjectDawn.Navigation.Hybrid.dll
Syntax
[AddComponentMenu("Agents Navigation/Crowd/Crowd Obstacle")]
[DisallowMultipleComponent]
[HelpURL("https://lukaschod.github.io/agents-navigation-docs/manual/crowds/crowd-obstacle.html")]
public class CrowdObstacleAuthoring : EntityBehaviour
Fields
| Improve this Doc View Sourcem_Size
Obstacle volume of crowd agents.
Declaration
[Tooltip("The size of the obstacle.")]
[SerializeField]
protected float3 m_Size
Field Value
Type | Description |
---|---|
float3 |
m_Type
Obstacle volume of crowd agents.
Declaration
[Tooltip("The shape of the obstacle.")]
[SerializeField]
protected CrowdObstacleType m_Type
Field Value
Type | Description |
---|---|
CrowdObstacleType |
Properties
| Improve this Doc View SourceDefaultObstacle
Returns default component of CrowdObstacle.
Declaration
public CrowdObstacle DefaultObstacle { get; }
Property Value
Type | Description |
---|---|
CrowdObstacle |
EntityObstacle
Accessing this property is potentially heavy operation as it will require wait for agent jobs to finish.
Declaration
public CrowdObstacle EntityObstacle { get; set; }
Property Value
Type | Description |
---|---|
CrowdObstacle |
HasEntityObstacle
Returns true if EntityBehaviour entity has CrowdObstacle.
Declaration
public bool HasEntityObstacle { get; }
Property Value
Type | Description |
---|---|
bool |
Obstacle
Accessing this property is potentially heavy operation as it will require wait for agent jobs to finish.
Declaration
public ref CrowdObstacle Obstacle { get; }
Property Value
Type | Description |
---|---|
CrowdObstacle |
Size
The size of the obstacle.
Declaration
public float3 Size { get; set; }
Property Value
Type | Description |
---|---|
float3 |
Type
The shape of the obstacle.
Declaration
public CrowdObstacleType Type { get; set; }
Property Value
Type | Description |
---|---|
CrowdObstacleType |