setCurrentScene method

Future<void> setCurrentScene(
  1. String transitionName
)

Sets the current scene transition.

Small note: While the namespace of scene transitions is generally unique, that uniqueness is not a guarantee as it is with other resources like inputs.

  • Complexity Rating: 2/5
  • Latest Supported RPC Version: 1
  • Added in v5.0.0

Implementation

Future<void> setCurrentScene(String transitionName) async =>
    setCurrentSceneTransition(transitionName);