• Tween a scene variable.

    Parameters

    • runtimeScene: RuntimeScene

      The scene

    • identifier: string

      Unique id to identify the tween

    • variable: Variable

      The scene variable which is set to the tweened value

    • toValue: number

      End value

    • easing: string

      Easing function identifier

    • duration: number

      Duration in seconds

    Returns void