Class HierarchyChangedEventBase<T>
Related to:SoyWar.UIToolkit.Events
/
Inherits from:objectEventBaseEventBase<T>
/
Implemented in:SoyWar.UIToolkit.dll
Implements interfaces:IDisposable
Description
Base class for events related to the change of the hierarchy.
Syntax
public class HierarchyChangedEventBase<T> : EventBase<T>, IDisposable where T : HierarchyChangedEventBase<T>, new()
Type Parameters
Name |
---|
T |
Properties
Name | Description |
---|---|
Parent | The originalVisualElementparent affected by the hierarchy change. |
Methods
Name | Description |
---|---|
GetPooled(VisualElement, VisualElement) | 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. |