CollisionEvents3D Class

Summary

Holds UltEvents.UltEvents 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")]
[HelpURL(UltEventUtils.APIDocumentationURL + "/CollisionEvents3D")]
[DisallowMultipleComponent]
[RequireComponent(typeof(Collider))]
public class CollisionEvents3D : MonoBehaviour

Attributes

Type Description
AddComponentMenu
HelpURL
DisallowMultipleComponent
RequireComponent

Properties

Name Value Summary
CollisionEnterEvent CollisionEvent3D
Invoked by UltEvents.CollisionEvents3D.OnCollisionEnter(Collision).
CollisionExitEvent CollisionEvent3D
Invoked by UltEvents.CollisionEvents3D.OnCollisionExit(Collision).
CollisionStayEvent CollisionEvent3D
Invoked by UltEvents.CollisionEvents3D.OnCollisionStay(Collision).

Methods

Name Value Summary
OnCollisionEnter(Collision) void
Invokes UltEvents.CollisionEvents3D.CollisionEnterEvent.
OnCollisionExit(Collision) void
Invokes UltEvents.CollisionEvents3D.CollisionExitEvent.
OnCollisionStay(Collision) void
Invokes UltEvents.CollisionEvents3D.CollisionStayEvent.