C# 클래스 NewTextBox, Adagio

HOW TO USE THIS CODE UPDATE: Format is the same. now supports multiple people speaking in different orders. etc
상속: MonoBehaviour
파일 보기 프로젝트 열기: technicalvgda/Adagio 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TextButton GameObject
speaker1 string
textBox GameObject
textFile UnityEngine.TextAsset
theTextPlayer Text
typeSpeed float

공개 메소드들

메소드 설명
OnTriggerEnter2D ( Collider2D col ) : void
OnTriggerExit2D ( Collider2D col ) : void
OnTriggerStay2D ( Collider2D c ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
TextScroll ( string lineOfText, int speakercode ) : IEnumerator

메소드 상세

OnTriggerEnter2D() 공개 메소드

public OnTriggerEnter2D ( Collider2D col ) : void
col UnityEngine.Collider2D
리턴 void

OnTriggerExit2D() 공개 메소드

public OnTriggerExit2D ( Collider2D col ) : void
col UnityEngine.Collider2D
리턴 void

OnTriggerStay2D() 공개 메소드

public OnTriggerStay2D ( Collider2D c ) : void
c UnityEngine.Collider2D
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

TextButton 공개적으로 프로퍼티

public GameObject TextButton
리턴 GameObject

speaker1 공개적으로 프로퍼티

public string speaker1
리턴 string

textBox 공개적으로 프로퍼티

public GameObject textBox
리턴 GameObject

textFile 공개적으로 프로퍼티

public TextAsset,UnityEngine textFile
리턴 UnityEngine.TextAsset

theTextPlayer 공개적으로 프로퍼티

public Text theTextPlayer
리턴 Text

typeSpeed 공개적으로 프로퍼티

public float typeSpeed
리턴 float