UnityEventTools
Editor tools for working with persistent UnityEvents.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Events
- Assembly: UnityEditor.CoreModule
public static class UnityEventTools
Static Methods
Method | Description |
|---|---|
| AddBoolPersistentListener | Adds a persistent, preset call to the listener. |
| AddFloatPersistentListener | Adds a persistent, preset call to the listener. |
| AddIntPersistentListener | Adds a persistent, preset call to the listener. |
| AddObjectPersistentListener | Adds a persistent, preset call to the listener. |
| AddPersistentListener | Adds a persistent call to the listener. Will be invoked with the arguments as defined by the Event and sent from the call location. |
| AddStringPersistentListener | Adds a persistent, preset call to the listener. |
| AddVoidPersistentListener | Adds a persistent, preset call to the listener. |
| RegisterBoolPersistentListener | Modifies the event at the given index. |
| RegisterFloatPersistentListener | Modifies the event at the given index. |
| RegisterIntPersistentListener | Modifies the event at the given index. |
| RegisterObjectPersistentListener | Modifies the event at the given index. |
| RegisterPersistentListener | Modifies the event at the given index. |
| RegisterStringPersistentListener | Modifies the event at the given index. |
| RegisterVoidPersistentListener | Modifies the event at the given index. |
| RemovePersistentListener | Removes the given function from the event. |
| UnregisterPersistentListener | Unregisters the given listener at the specified index. |