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.