C# 클래스 BaseTextBlurb, Unity-Free-Flight

Display text to the user, in a meaningful way! This class acts as a base class for configuring how the text appears. The condition is undefined, and the action by default stops the text from appearing. The X,Y,Width,Height are modified with textPosition. Additionally, you can position the text box relative to the screen: RelativeToScreenWidth -- textposition.X + screen Width RelativeToScreenHeight = textposition.Y + screen Height
상속: BaseTrigger
파일 보기 프로젝트 열기: NickolausDS/Unity-Free-Flight

공개 프로퍼티들

프로퍼티 타입 설명
relativeToScreenHeight bool
relativeToScreenWidth bool
textLine1 string
textLine2 string
textLine3 string
textPosition Vector4

보호된 프로퍼티들

프로퍼티 타입 설명
showGUI bool

공개 메소드들

메소드 설명
OnGUI ( ) : void

보호된 메소드들

메소드 설명
action ( ) : void
initialAction ( ) : void

메소드 상세

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

action() 보호된 메소드

protected action ( ) : void
리턴 void

initialAction() 보호된 메소드

protected initialAction ( ) : void
리턴 void

프로퍼티 상세

relativeToScreenHeight 공개적으로 프로퍼티

public bool relativeToScreenHeight
리턴 bool

relativeToScreenWidth 공개적으로 프로퍼티

public bool relativeToScreenWidth
리턴 bool

showGUI 보호되어 있는 프로퍼티

protected bool showGUI
리턴 bool

textLine1 공개적으로 프로퍼티

public string textLine1
리턴 string

textLine2 공개적으로 프로퍼티

public string textLine2
리턴 string

textLine3 공개적으로 프로퍼티

public string textLine3
리턴 string

textPosition 공개적으로 프로퍼티

public Vector4 textPosition
리턴 Vector4