removeScene

inline fun <Type : SceneType> removeScene(): Type?
open fun <Type : SceneType> removeScene(type: KClass<Type>): Type?

Removes the cached instance of Scene of the selected type. Note that this method does not dispose of the scene and will not affect shownScene.

Return

removed instance of Scene extending passed Type if it was registered; otherwise null.

See also

Parameters

Type

concreate class of the Scene instance.