DialogueRunner.SetProject(YarnProject)
Method in DialogueRunner
Summary
Sets the dialogue runner’s Yarn Project.
public void SetProject(YarnProject project)Remarks
If the dialogue runner is currently running (that is, IsDialogueRunning is true ), an System.InvalidOperationException is thrown.
Parameters
| Name | Description |
|---|---|
| Yarn.Unity.YarnProject project | The new YarnProject to be used. |