Class BehaviorGraphCollisionEvents
This class is used to dispatch collision events to the behavior graph.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Muse.Behavior
Assembly: solution.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> |
OnCollisionExitEvent
Register to this event to receive OnCollisionExit information.
Declaration
public event Action<GameObject> OnCollisionExitEvent
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> |
OnTriggerEnterEvent
Register to this event to receive OnTriggerEnter information.
Declaration
public event Action<GameObject> OnTriggerEnterEvent
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> |
OnTriggerStayEvent
Register to this event to receive OnTriggerStay information.
Declaration
public event Action<GameObject> OnTriggerStayEvent
Event Type
Type | Description |
---|---|
Action<GameObject> |