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

NameDescription
Yarn.Unity.YarnProject projectThe new YarnProject to be used.