TransitionEventBase<T>
Transition events abstract base class.
Read time 2 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: EventBase<T>
- Implements: IDisposable, ITransitionEvent
public abstract class TransitionEventBase<T> : EventBase<T>, IDisposable, ITransitionEvent where T : TransitionEventBase<T>, new()
Remarks
Refer to the Transition events manual page for more information and examples.
Constructors
Constructor | Description |
|---|---|
| TransitionEventBase`1() | Constructor. |
Properties
Property | Description |
|---|---|
| elapsedTime | The number of seconds the transition has been running, excluding delay phase time. |
| stylePropertyNames | The names of the properties associated with the transition. |
Methods
Method | Description |
|---|---|
| AffectsProperty | Determines whether the ITransitionEvent affects the specified property. |
Static Methods
Method | Description |
|---|---|
| GetPooled | Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained from this method should be released back to the pool using Dispose(). |