Method | Description | |
---|---|---|
clearLables ( ) : IEnumerator | ||
initialize ( UILabel, examineLabels, UISprite, nextSprite, float textSpeed, float newLineWait, bool doLinePadding ) : void | ||
showText ( object args ) : IEnumerator |
Method | Description | |
---|---|---|
awaitInput ( string button ) : IEnumerator |
This function locks further progress until the player pushes the button (that is passed as parameter)
|
|
feedLine ( string line ) : IEnumerator |
Displays the actual line of text to the player, character by character
|
|
feedText ( object args ) : IEnumerator |
This function handles the logic about which line of text should be displayed to the player Args[0] = (string) the text Args[1] = (bool) allow quick skip Args[2] = (string) scroll method Args[3] = (obj) scroll method argument
|
|
listenForQuickSkip ( string button ) : IEnumerator |
This function detects if the player wishes to speed up the text display. IF the player clicks "Examine" as the text is being printed, all text of that "frame" is displayed instantaniously
|
public initialize ( UILabel, examineLabels, UISprite, nextSprite, float textSpeed, float newLineWait, bool doLinePadding ) : void | ||
examineLabels | UILabel, | |
nextSprite | UISprite, | |
textSpeed | float | |
newLineWait | float | |
doLinePadding | bool | |
return | void |
public showText ( object args ) : IEnumerator | ||
args | object | |
return | IEnumerator |