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
Afficher le fichier Open project: NickolausDS/Unity-Free-Flight

Méthodes publiques

Свойство Type Description
relativeToScreenHeight bool
relativeToScreenWidth bool
textLine1 string
textLine2 string
textLine3 string
textPosition Vector4

Protected Properties

Свойство Type Description
showGUI bool

Méthodes publiques

Méthode Description
OnGUI ( ) : void

Méthodes protégées

Méthode Description
action ( ) : void
initialAction ( ) : void

Method Details

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

action() protected méthode

protected action ( ) : void
Résultat void

initialAction() protected méthode

protected initialAction ( ) : void
Résultat void

Property Details

relativeToScreenHeight public_oe property

public bool relativeToScreenHeight
Résultat bool

relativeToScreenWidth public_oe property

public bool relativeToScreenWidth
Résultat bool

showGUI protected_oe property

protected bool showGUI
Résultat bool

textLine1 public_oe property

public string textLine1
Résultat string

textLine2 public_oe property

public string textLine2
Résultat string

textLine3 public_oe property

public string textLine3
Résultat string

textPosition public_oe property

public Vector4 textPosition
Résultat Vector4