TriggerEvents3D Class

Summary

Holds UltEvents.UltEvents which are called by various MonoBehaviour trigger events: UltEvents.TriggerEvents3D.OnTriggerEnter(Collider), UltEvents.TriggerEvents3D.OnTriggerStay(Collider), and UltEvents.TriggerEvents3D.OnTriggerExit(Collider).
Assembly
UltEvents.dll
Namespace
UltEvents
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["TriggerEvents3D"] class Type type-node

Syntax

[AddComponentMenu(UltEventUtils.ComponentMenuPrefix + "Trigger Events 3D")]
[DisallowMultipleComponent]
[RequireComponent(typeof(Collider))]
[UltEventsHelpUrl(typeof(TriggerEvents3D))]
public class TriggerEvents3D : MonoBehaviour

Attributes

Type Description
AddComponentMenu
DisallowMultipleComponent
RequireComponent
UltEventsHelpUrlAttribute [Assert-Conditional] A HelpURLAttribute which points to the UltEvents documentation.

Properties

Name Value Summary
TriggerEnterEvent UltEvent<Collider>
Invoked by UltEvents.TriggerEvents3D.OnTriggerEnter(Collider).
TriggerExitEvent UltEvent<Collider>
Invoked by UltEvents.TriggerEvents3D.OnTriggerExit(Collider).
TriggerStayEvent UltEvent<Collider>
Invoked by UltEvents.TriggerEvents3D.OnTriggerStay(Collider).

Methods

Name Value Summary
OnTriggerEnter(Collider) void
Invokes UltEvents.TriggerEvents3D.TriggerEnterEvent.
OnTriggerExit(Collider) void
Invokes UltEvents.TriggerEvents3D.TriggerExitEvent.
OnTriggerStay(Collider) void
Invokes UltEvents.TriggerEvents3D.TriggerStayEvent.