Class BehaviorGraphCollisionEvents
This class is used to dispatch collision events to the behavior graph.
Inherited Members
Namespace: Unity.Behavior
Assembly: Unity.Behavior.dll
Syntax
public class BehaviorGraphCollisionEvents : MonoBehaviour
Events
OnCollisionEnterEvent
Register to this event to receive OnCollisionEnter information.
Declaration
public event Action<GameObject> OnCollisionEnterEvent
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnCollisionEnterEvent2D
Register to this event to receive OnCollisionEnter2D information.
Declaration
public event Action<GameObject> OnCollisionEnterEvent2D
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnCollisionExitEvent
Register to this event to receive OnCollisionExit information.
Declaration
public event Action<GameObject> OnCollisionExitEvent
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnCollisionExitEvent2D
Register to this event to receive OnCollisionExit information.
Declaration
public event Action<GameObject> OnCollisionExitEvent2D
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnCollisionStayEvent
Register to this event to receive OnCollisionStay information.
Declaration
public event Action<GameObject> OnCollisionStayEvent
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnCollisionStayEvent2D
Register to this event to receive OnCollisionStay information.
Declaration
public event Action<GameObject> OnCollisionStayEvent2D
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnTriggerEnterEvent
Register to this event to receive OnTriggerEnter information.
Declaration
public event Action<GameObject> OnTriggerEnterEvent
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnTriggerEnterEvent2D
Register to this event to receive OnTriggerEnter information.
Declaration
public event Action<GameObject> OnTriggerEnterEvent2D
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnTriggerExitEvent
Register to this event to receive OnTriggerExit information.
Declaration
public event Action<GameObject> OnTriggerExitEvent
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnTriggerExitEvent2D
Register to this event to receive OnTriggerExit information.
Declaration
public event Action<GameObject> OnTriggerExitEvent2D
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnTriggerStayEvent
Register to this event to receive OnTriggerStay information.
Declaration
public event Action<GameObject> OnTriggerStayEvent
Event Type
Type | Description |
---|---|
Action<GameObject> |
OnTriggerStayEvent2D
Register to this event to receive OnTriggerStay information.
Declaration
public event Action<GameObject> OnTriggerStayEvent2D
Event Type
Type | Description |
---|---|
Action<GameObject> |