C# Class Yarn.Unity.DialogueRunner

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: thesecretlab/YarnSpinner Class Usage Examples

Public Properties

Property Type Description
automaticCommands bool
dialogueUI Yarn.Unity.DialogueUIBehaviour
sourceText UnityEngine.TextAsset[]
startAutomatically bool
startNode string
variableStorage Yarn.Unity.VariableStorageBehaviour

Public Methods

Method Description
AddScript ( TextAsset asset ) : void
AddScript ( string text ) : void
Clear ( ) : void
DispatchCommand ( string command ) : bool
NodeExists ( string nodeName ) : bool
ResetDialogue ( ) : void
Start ( ) : void
StartDialogue ( ) : void
StartDialogue ( string startNode ) : void
Stop ( ) : void

Private Methods

Method Description
RunDialogue ( string startNode = "Start" ) : IEnumerator

Method Details

AddScript() public method

public AddScript ( TextAsset asset ) : void
asset UnityEngine.TextAsset
return void

AddScript() public method

public AddScript ( string text ) : void
text string
return void

Clear() public method

public Clear ( ) : void
return void

DispatchCommand() public method

public DispatchCommand ( string command ) : bool
command string
return bool

NodeExists() public method

public NodeExists ( string nodeName ) : bool
nodeName string
return bool

ResetDialogue() public method

public ResetDialogue ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartDialogue() public method

public StartDialogue ( ) : void
return void

StartDialogue() public method

public StartDialogue ( string startNode ) : void
startNode string
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

automaticCommands public_oe property

public bool automaticCommands
return bool

dialogueUI public_oe property

public Yarn.Unity.DialogueUIBehaviour dialogueUI
return Yarn.Unity.DialogueUIBehaviour

sourceText public_oe property

public TextAsset[],UnityEngine sourceText
return UnityEngine.TextAsset[]

startAutomatically public_oe property

public bool startAutomatically
return bool

startNode public_oe property

public string startNode
return string

variableStorage public_oe property

public Yarn.Unity.VariableStorageBehaviour variableStorage
return Yarn.Unity.VariableStorageBehaviour