This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

Dialogue.SetProgram Method

Loads all nodes from the provided Program.

public void SetProgram(Program program)

Remarks

This method replaces any existing nodes have been loaded. If you want to load nodes from additional Program, use the AddProgram(Program) method.

Parameters

Parameter Description
Program program The Program to use.

Source

Defined in YarnSpinner/Dialogue.cs, line 541.