C# Класс ExamineLogic, Hellbound

Examine behaviour. All logic for the Examine functions Created by Simon Jonasson
Наследование: MonoBehaviour
Показать файл Открыть проект

Открытые методы

Метод Описание
clearLables ( ) : IEnumerator
initialize ( UILabel, examineLabels, UISprite, nextSprite, float textSpeed, float newLineWait, bool doLinePadding ) : void
showText ( object args ) : IEnumerator

Приватные методы

Метод Описание
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

Описание методов

clearLables() публичный Метод

public clearLables ( ) : IEnumerator
Результат IEnumerator

initialize() публичный Метод

public initialize ( UILabel, examineLabels, UISprite, nextSprite, float textSpeed, float newLineWait, bool doLinePadding ) : void
examineLabels UILabel,
nextSprite UISprite,
textSpeed float
newLineWait float
doLinePadding bool
Результат void

showText() публичный Метод

public showText ( object args ) : IEnumerator
args object
Результат IEnumerator