• Load the Dialogue Tree data from a JSON resource.

    Parameters

    • instanceContainer: RuntimeInstanceContainer

      The scene where the dialogue is running.

    • jsonResourceName: string

      The JSON resource where to load the Dialogue Tree data from. The data is a JSON string usually created with Yarn Dialogue Editor.

    • startDialogueNode: string

      The Dialogue Branch to start the Dialogue Tree from. If left empty, the data will only be loaded, but can later be initialized via another action

    Returns void