Yarn Spinner
2.2 (Current)
Search…
⌃K
Links

SetProgram(Program)

Method in Dialogue

Summary

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 an additional Program, use the AddProgram(Program) method.

Parameters

Name
Description
Yarn.Program program
The Program to use.