Skip to main content

start_tracks

Function start_tracks 

Source
fn start_tracks(
    world: &Scope<'_>,
    scene: &Scene,
    voice: Entity,
    autoplay_background: bool,
)
Expand description

Put the scene’s two sequences on the gameplay world, playing into voice.

The background loop runs from the first frame it can; the one-shot sequence is spawned paused, so the panel’s Play is what starts it.