Class VisualElementChangedEventBase<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 changing the hierarchy ofVisualElement.
Syntax
public abstract class VisualElementChangedEventBase<T> : EventBase<T>, IDisposable where T : VisualElementChangedEventBase<T>, new()
Type Parameters
Name |
---|
T |
Constructors
Name |
---|
VisualElementChangedEventBase() |
Properties
Name | Description |
---|---|
Child | TheVisualElementthat triggered the change. |
FromParent | The previousVisualElementparent. |
ToParent | The nextVisualElementparent. |
Methods
Name | Description |
---|---|
GetPooled(VisualElement, 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. |