Log inGet started
World

EMBERLINE

Branchmain
Branchesmain
Commite3b1d97d67

README.md

StagingDirector

The staging slice's ignition.

A module only exists once something requires it, and nothing in the scene requires this slice: the scene entrypoint fans update out to Bus.services.fx / camera / staging, which are empty until the slice's director module has run its body. This component is what runs it.

Attach it to one entity under FxRoot and the slice comes up with the world in both edit and play, with no edit to anybody else's file.

FieldDefaultWhat it does
autoAttractfalsePlay the opening automatically when the world loads in play mode.
eagerArtfalseDraw the attract art up front instead of spreading it a canvas per frame.

awake registers the services; start builds the effect sheets and, when autoAttract is set, opens the game with the attract sequence; onDestroy tears the whole slice down and leaves no listener or timeline behind.

It owns no behaviour of its own — everything it does is in emberline.staging.director.