Class NameChangedEventBase<T>
Related to:SoyWar.UIToolkit.Events
/
Inherits from:objectEventBaseEventBase<T>
/
Implemented in:SoyWar.UIToolkit.dll
Implements interfaces:IDisposable
Description
Base class for name change events.
Syntax
public class NameChangedEventBase<T> : EventBase<T>, IDisposable where T : NameChangedEventBase<T>, new()
Type Parameters
Name |
---|
T |
Constructors
Name |
---|
NameChangedEventBase() |
Properties
Name | Description |
---|---|
NewValue | The new name. |
OldValue | The previous name. |
Methods
Name | Description |
---|---|
GetPooled(VisualElement, string, string) | Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. |