C# Class BottomTrayGUI, tf_client

Inheritance: GUIObject
ファイルを表示 Open project: wids-eria/tf_client Class Usage Examples

Public Properties

Property Type Description
cashReadoutIcon UnityEngine.Texture2D
kPaintSelectionInputMode string

Protected Properties

Property Type Description
turnStatus bool

Private Properties

Property Type Description
InitializeActionButtons void
UpdateActionButtons void
changeTurn void

Public Methods

Method 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.

Protected Methods

Method Description
DrawButtons ( ) : void

Draws the buttons.

Private Methods

Method Description
InitializeActionButtons ( ) : void

Initializes the action buttons.

UpdateActionButtons ( ) : void

Update this instance.

changeTurn ( bool status ) : void

Changes the turn.

Method Details

BottomTrayGUI() public method

Initializes a new instance of the BottomTrayGUI class.
public BottomTrayGUI ( ) : UnityEngine
return UnityEngine

DisplayStatusLine() public static method

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

DisplayStatusLine() public static method

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 ///
return void

Draw() public method

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

DrawButtons() protected method

Draws the buttons.
protected DrawButtons ( ) : void
return void

DrawNumericInputField() public static method

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

IsMouseOver() public method

Determines whether this instance is mouse over.
public IsMouseOver ( ) : bool
return bool

SetActionControlsRectHeight() public method

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

Property Details

cashReadoutIcon public_oe property

The cash readout icon.
public Texture2D,UnityEngine cashReadoutIcon
return UnityEngine.Texture2D

kPaintSelectionInputMode public_oe static_oe property

The k paint selection input mode.
public static string kPaintSelectionInputMode
return string

turnStatus protected_oe property

The turn status.
protected bool turnStatus
return bool