C# 클래스 SubtitlesLogic, Hellbound

Subtitle behaviour. All the logic for the subtitles system Created by Simon Jonasson
상속: MonoBehaviour
파일 보기 프로젝트 열기: Backman/Hellbound

Private Properties

프로퍼티 타입 설명
awaitTime IEnumerator
feedLine IEnumerator
feedText IEnumerator

공개 메소드들

메소드 설명
clearLables ( ) : IEnumerator
initialize ( UILabel, subtitleseLabels ) : void
showSubtitles ( object args ) : IEnumerator

비공개 메소드들

메소드 설명
awaitTime ( float waitTime ) : IEnumerator

Will wait for waitTime seconds before returning

feedLine ( object args ) : 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 Args[4] = (bool) Line Padding Args[5] = (bool) Using sounds (true if acceptable path found) Args[6] = (string) SoundPath Args[7] = (vector3) SoundPosition

메소드 상세

clearLables() 공개 메소드

public clearLables ( ) : IEnumerator
리턴 IEnumerator

initialize() 공개 메소드

public initialize ( UILabel, subtitleseLabels ) : void
subtitleseLabels UILabel,
리턴 void

showSubtitles() 공개 메소드

public showSubtitles ( object args ) : IEnumerator
args object
리턴 IEnumerator