Property | Type | Description | |
---|---|---|---|
ActorName | Text | ||
Button1 | Button | ||
Button2 | Button | ||
Instance | UIController | ||
SingleButton | Button | ||
Text | Text | ||
TimePerCharacter | float | ||
UIRoot | Canvas |
Method | Description | |
---|---|---|
CloseDialogue ( ) : void | ||
ShowSingleButton ( string caption, Action onButtonClick ) : void | ||
ShowText ( string actorName, string text, Action onDone ) : void | ||
ShowTwoButtons ( string button1Caption, Action onButton1Click, string button2Caption, Action onButton2Click ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
ClearAndExecuteOnDoneActionIfNotNull ( ) : void | ||
HideAllButtons ( ) : void | ||
PlayText ( string text ) : IEnumerator | ||
ShowButton ( Button button, string caption, Action onButtonClick ) : void | ||
Start ( ) : void |
public ShowSingleButton ( string caption, Action onButtonClick ) : void | ||
caption | string | |
onButtonClick | Action | |
return | void |
public ShowText ( string actorName, string text, Action onDone ) : void | ||
actorName | string | |
text | string | |
onDone | Action | |
return | void |
public ShowTwoButtons ( string button1Caption, Action onButton1Click, string button2Caption, Action onButton2Click ) : void | ||
button1Caption | string | |
onButton1Click | Action | |
button2Caption | string | |
onButton2Click | Action | |
return | void |