stopScene method

  1. @override
void stopScene()
override

Implementation

@override
void stopScene() {
  try {
    world.children
        .firstWhere((value) => value is SceneBuilderComponent)
        .removeFromParent();
  } catch (e) {
    /// Not found SceneBuilderComponent
  }
}