Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEditor.Events
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseEditor tools for working with persistent UnityEvents.
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. |