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
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
relativeToScreenHeight bool
relativeToScreenWidth bool
textLine1 string
textLine2 string
textLine3 string
textPosition Vector4

Защищенные свойства (Protected)

Свойство Тип Описание
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