Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TransitionEventBase<T>

Transition events abstract base class.
Read time 2 minutesLast updated 2 days ago

Definition

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

elapsedTimeThe number of seconds the transition has been running, excluding delay phase time.
stylePropertyNamesThe names of the properties associated with the transition.

Methods

Method

Description

AffectsPropertyDetermines whether the ITransitionEvent affects the specified property.

Static Methods

Method

Description

GetPooledGets 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().

Inheritance