This plugin includes several scripts which have UltEvents triggered by various MonoBehaviour
event messages:
Script and messages | Inspector |
---|---|
OnCollisionEnter2D OnCollisionStay2D OnCollisionExit2D |
|
OnCollisionEnter OnCollisionStay OnCollisionExit |
|
Awake Start OnEnable OnDisable OnDestroy |
|
OnTriggerEnter2D OnTriggerStay2D OnTriggerExit2D |
|
OnTriggerEnter OnTriggerStay OnTriggerExit |
|
Update LateUpdate FixedUpdate |
UltEventHolder
The UltEventHolder
script is similar to the Premade Event Scripts, except that it only has a single event which isn't triggered by anything. One use for this script is to receive a redirected UnityEvent from a UI element so that you can make use of the improved features of the UltEvents.
The DelayedUltEventHolder
script can be used similarly to impose a delay before the event is actually executed.