C# Class 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
Inheritance: BaseTrigger
Datei anzeigen Open project: NickolausDS/Unity-Free-Flight

Public Properties

Property Type Description
relativeToScreenHeight bool
relativeToScreenWidth bool
textLine1 string
textLine2 string
textLine3 string
textPosition Vector4

Protected Properties

Property Type Description
showGUI bool

Public Methods

Method Description
OnGUI ( ) : void

Protected Methods

Method Description
action ( ) : void
initialAction ( ) : void

Method Details

OnGUI() public method

public OnGUI ( ) : void
return void

action() protected method

protected action ( ) : void
return void

initialAction() protected method

protected initialAction ( ) : void
return void

Property Details

relativeToScreenHeight public_oe property

public bool relativeToScreenHeight
return bool

relativeToScreenWidth public_oe property

public bool relativeToScreenWidth
return bool

showGUI protected_oe property

protected bool showGUI
return bool

textLine1 public_oe property

public string textLine1
return string

textLine2 public_oe property

public string textLine2
return string

textLine3 public_oe property

public string textLine3
return string

textPosition public_oe property

public Vector4 textPosition
return Vector4