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

Dialogue.AddProgram Method

Loads the nodes from the specified Program, and adds them to the nodes already loaded.

public void AddProgram(Program program)

Remarks

If Yarn.Dialogue.Program is null, this method has the effect as calling SetProgram(Program).

Parameters

Parameter Description
Program program The additional program to load.

Source

Defined in YarnSpinner/Dialogue.cs, line 555.