C# Class Yarn.Unity.DialogueRunner

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: thesecretlab/YarnSpinner Class Usage Examples

Méthodes publiques

Свойство Type Description
automaticCommands bool
dialogueUI Yarn.Unity.DialogueUIBehaviour
sourceText UnityEngine.TextAsset[]
startAutomatically bool
startNode string
variableStorage Yarn.Unity.VariableStorageBehaviour

Méthodes publiques

Méthode 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

Méthode Description
RunDialogue ( string startNode = "Start" ) : IEnumerator

Method Details

AddScript() public méthode

public AddScript ( TextAsset asset ) : void
asset UnityEngine.TextAsset
Résultat void

AddScript() public méthode

public AddScript ( string text ) : void
text string
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

DispatchCommand() public méthode

public DispatchCommand ( string command ) : bool
command string
Résultat bool

NodeExists() public méthode

public NodeExists ( string nodeName ) : bool
nodeName string
Résultat bool

ResetDialogue() public méthode

public ResetDialogue ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartDialogue() public méthode

public StartDialogue ( ) : void
Résultat void

StartDialogue() public méthode

public StartDialogue ( string startNode ) : void
startNode string
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Property Details

automaticCommands public_oe property

public bool automaticCommands
Résultat bool

dialogueUI public_oe property

public Yarn.Unity.DialogueUIBehaviour dialogueUI
Résultat Yarn.Unity.DialogueUIBehaviour

sourceText public_oe property

public TextAsset[],UnityEngine sourceText
Résultat UnityEngine.TextAsset[]

startAutomatically public_oe property

public bool startAutomatically
Résultat bool

startNode public_oe property

public string startNode
Résultat string

variableStorage public_oe property

public Yarn.Unity.VariableStorageBehaviour variableStorage
Résultat Yarn.Unity.VariableStorageBehaviour