C# Класс BottomTrayGUI, tf_client

Наследование: GUIObject
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
cashReadoutIcon UnityEngine.Texture2D
kPaintSelectionInputMode string

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

Свойство Тип Описание
turnStatus bool

Private Properties

Свойство Тип Описание
InitializeActionButtons void
UpdateActionButtons void
changeTurn void

Открытые методы

Метод Описание
BottomTrayGUI ( ) : UnityEngine

Initializes a new instance of the BottomTrayGUI class.

DisplayStatusLine ( string message ) : void

Displays a status line at the bottom with the specified message

DisplayStatusLine ( string message, GUIStyle textStyle ) : void

Displays a status line at the bottom with the specified message

Draw ( ) : void

Displays the tray at the bottom of the screen with action buttons, etc.

DrawNumericInputField ( int currentValue ) : int

Draws a numeric input field.

IsMouseOver ( ) : bool

Determines whether this instance is mouse over.

SetActionControlsRectHeight ( float height ) : void

Sets the height of the action controls rect.

Защищенные методы

Метод Описание
DrawButtons ( ) : void

Draws the buttons.

Приватные методы

Метод Описание
InitializeActionButtons ( ) : void

Initializes the action buttons.

UpdateActionButtons ( ) : void

Update this instance.

changeTurn ( bool status ) : void

Changes the turn.

Описание методов

BottomTrayGUI() публичный Метод

Initializes a new instance of the BottomTrayGUI class.
public BottomTrayGUI ( ) : UnityEngine
Результат UnityEngine

DisplayStatusLine() публичный статический Метод

Displays a status line at the bottom with the specified message
public static DisplayStatusLine ( string message ) : void
message string /// A ///
Результат void

DisplayStatusLine() публичный статический Метод

Displays a status line at the bottom with the specified message
public static DisplayStatusLine ( string message, GUIStyle textStyle ) : void
message string /// A ///
textStyle GUIStyle /// A ///
Результат void

Draw() публичный Метод

Displays the tray at the bottom of the screen with action buttons, etc.
public Draw ( ) : void
Результат void

DrawButtons() защищенный Метод

Draws the buttons.
protected DrawButtons ( ) : void
Результат void

DrawNumericInputField() публичный статический Метод

Draws a numeric input field.
public static DrawNumericInputField ( int currentValue ) : int
currentValue int /// Current value. ///
Результат int

IsMouseOver() публичный Метод

Determines whether this instance is mouse over.
public IsMouseOver ( ) : bool
Результат bool

SetActionControlsRectHeight() публичный Метод

Sets the height of the action controls rect.
public SetActionControlsRectHeight ( float height ) : void
height float /// Height. ///
Результат void

Описание свойств

cashReadoutIcon публичное свойство

The cash readout icon.
public Texture2D,UnityEngine cashReadoutIcon
Результат UnityEngine.Texture2D

kPaintSelectionInputMode публичное статическое свойство

The k paint selection input mode.
public static string kPaintSelectionInputMode
Результат string

turnStatus защищенное свойство

The turn status.
protected bool turnStatus
Результат bool