Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UnityEventTools

Namespace: UnityEditor.Events

Suggest a change

Success!

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.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Editor tools for working with persistent UnityEvents.

Static Functions

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.