MCPcopy
hub / github.com/EngoEngine/engo / CurrentScene

Function CurrentScene

scene.go:62–64  ·  view source on GitHub ↗

CurrentScene returns the SceneWorld that is currently active

()

Source from the content-addressed store, hash-verified

60
61// CurrentScene returns the SceneWorld that is currently active
62func CurrentScene() Scene {
63 return currentScene
64}
65
66// SetScene sets the currentScene to the given Scene, and
67// optionally forcing to create a new ecs.World that goes with it.

Callers 1

TestSceneSwitchingFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestSceneSwitchingFunction · 0.68