C# Class BottomTrayGUI, tf_client

Inheritance: GUIObject
Afficher le fichier Open project: wids-eria/tf_client Class Usage Examples

Méthodes publiques

Свойство Type Description
cashReadoutIcon UnityEngine.Texture2D
kPaintSelectionInputMode string

Protected Properties

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

Private Properties

Свойство Type Description
InitializeActionButtons void
UpdateActionButtons void
changeTurn void

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
DrawButtons ( ) : void

Draws the buttons.

Private Methods

Méthode Description
InitializeActionButtons ( ) : void

Initializes the action buttons.

UpdateActionButtons ( ) : void

Update this instance.

changeTurn ( bool status ) : void

Changes the turn.

Method Details

BottomTrayGUI() public méthode

Initializes a new instance of the BottomTrayGUI class.
public BottomTrayGUI ( ) : UnityEngine
Résultat UnityEngine

DisplayStatusLine() public static méthode

Displays a status line at the bottom with the specified message
public static DisplayStatusLine ( string message ) : void
message string /// A ///
Résultat void

DisplayStatusLine() public static méthode

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 ///
Résultat void

Draw() public méthode

Displays the tray at the bottom of the screen with action buttons, etc.
public Draw ( ) : void
Résultat void

DrawButtons() protected méthode

Draws the buttons.
protected DrawButtons ( ) : void
Résultat void

DrawNumericInputField() public static méthode

Draws a numeric input field.
public static DrawNumericInputField ( int currentValue ) : int
currentValue int /// Current value. ///
Résultat int

IsMouseOver() public méthode

Determines whether this instance is mouse over.
public IsMouseOver ( ) : bool
Résultat bool

SetActionControlsRectHeight() public méthode

Sets the height of the action controls rect.
public SetActionControlsRectHeight ( float height ) : void
height float /// Height. ///
Résultat void

Property Details

cashReadoutIcon public_oe property

The cash readout icon.
public Texture2D,UnityEngine cashReadoutIcon
Résultat UnityEngine.Texture2D

kPaintSelectionInputMode public_oe static_oe property

The k paint selection input mode.
public static string kPaintSelectionInputMode
Résultat string

turnStatus protected_oe property

The turn status.
protected bool turnStatus
Résultat bool