Skip to content

Class: UITransitionSystem ​

Drives UITransitionComponent. PreRender, after layout / scrolling and before TransformSystem: advances each transition (frame time, scaled by the game's time scale, held while paused), then writes the pose — position / scale / rotation offsets and an opacity factor — into Transform and UIOpacity. UITransitionRestoreSystem puts the original values back once the transform and opacity steps have used them, so the effect never lands in saved data and layout sees the entity's own values next frame.

Only while the game runs (or for an editor preview). When the game starts, each transition applies its onStart; one spawned during the run applies it when bound.

Extends ​

Constructors ​

Constructor ​

ts
new UITransitionSystem(): UITransitionSystem;

Returns ​

UITransitionSystem

Inherited from ​

ts
BoundComponentSystem<UITransitionComponent, BoundTransition>.constructor

Properties ​

PropertyModifierTypeDefault valueInherited from
enabledpublicbooleantrueBoundComponentSystem.enabled
parallelpublicbooleanfalseBoundComponentSystem.parallel

Methods ​

Entries() ​

ts
Entries(): IterableIterator<BoundTransition>;

The restore half reads the entries.

Returns ​

IterableIterator<BoundTransition>


GetName() ​

ts
GetName(): string;

Returns ​

string

Overrides ​

ts
BoundComponentSystem.GetName

GetOrder() ​

ts
GetOrder(): SystemOrder;

Returns ​

SystemOrder


GetPhase() ​

ts
GetPhase(): SystemPhase;

Returns ​

SystemPhase

Overrides ​

ts
BoundComponentSystem.GetPhase

GetWrites() ​

ts
GetWrites(): readonly string[];

Returns ​

readonly string[]


OnClose() ​

ts
OnClose(): void;

Returns ​

void

Inherited from ​

ts
BoundComponentSystem.OnClose

OnInit() ​

ts
OnInit(engine): void;

Parameters ​

ParameterType
engineIEngine

Returns ​

void

Inherited from ​

ts
BoundComponentSystem.OnInit

OnRender() ​

ts
OnRender(scene, _renderer): void;

Parameters ​

ParameterType
sceneScene
_rendererIRenderer

Returns ​

void

Overrides ​

ts
BoundComponentSystem.OnRender

OnRendererChanged() ​

ts
OnRendererChanged(_renderer): void;

Parameters ​

ParameterType
_rendererIRenderer

Returns ​

void

Inherited from ​

ts
BoundComponentSystem.OnRendererChanged

OnStart() ​

ts
OnStart(scene, _renderer): void;

Parameters ​

ParameterType
sceneScene
_rendererIRenderer

Returns ​

void

Inherited from ​

ts
BoundComponentSystem.OnStart

OnStop() ​

ts
OnStop(_scene): void;

Parameters ​

ParameterType
_sceneScene

Returns ​

void

Inherited from ​

ts
BoundComponentSystem.OnStop

OnUpdate() ​

ts
OnUpdate(_scene, _dt): void | Promise<void>;

Parameters ​

ParameterType
_sceneScene
_dtnumber

Returns ​

void | Promise<void>

Inherited from ​

ts
BoundComponentSystem.OnUpdate

© 2026 PlayAdGentic