Summary
Holds
UltEvents.UltEvent
s which are called by various MonoBehaviour
collision events:
UltEvents.CollisionEvents3D.OnCollisionEnter(Collision)
,
UltEvents.CollisionEvents3D.OnCollisionStay(Collision)
, and
UltEvents.CollisionEvents3D.OnCollisionExit(Collision)
.
- Assembly
- UltEvents
.dll - Namespace
- UltEvents
- Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["CollisionEvents3D"]
class Type type-node
Syntax
[AddComponentMenu(UltEventUtils.ComponentMenuPrefix + "Collision Events 3D")]
[DisallowMultipleComponent]
[RequireComponent(typeof(Collider))]
[UltEventsHelpUrl(typeof(CollisionEvents3D))]
public class CollisionEvents3D : MonoBehaviour
Attributes
Type | Description |
---|---|
AddComponentMenu | |
Disallow |
|
RequireComponent | |
Ult |
[Assert-Conditional]
A HelpURLAttribute which points to the UltEvents documentation.
|
Properties
Name | Value | Summary |
---|---|---|
CollisionEnterEvent | UltEvent |
Invoked by
UltEvents.CollisionEvents3D.OnCollisionEnter(Collision) . |
CollisionExitEvent | UltEvent |
Invoked by
UltEvents.CollisionEvents3D.OnCollisionExit(Collision) . |
CollisionStayEvent | UltEvent |
Invoked by
UltEvents.CollisionEvents3D.OnCollisionStay(Collision) . |
Methods
Name | Value | Summary |
---|---|---|
OnCollisionEnter |
void |
Invokes
UltEvents.CollisionEvents3D.CollisionEnterEvent . |
OnCollisionExit |
void |
Invokes
UltEvents.CollisionEvents3D.CollisionExitEvent . |
OnCollisionStay |
void |
Invokes
UltEvents.CollisionEvents3D.CollisionStayEvent . |