C# Class GUIButtonBase, tf_client

Inheritance: GUIObject, ISelectable
Mostra file Open project: wids-eria/tf_client Class Usage Examples

Public Properties

Property Type Description
OnButtonPressed Action
text string

Protected Properties

Property Type Description
m_OnSelected Action

Public Methods

Method Description
Disable ( ) : void
Draw ( ) : void
Enable ( ) : void
GUIButtonBase ( GUIButtonData, data ) : UnityEngine
GUIButtonBase ( GUIButtonData, data, Action buttonAction ) : UnityEngine
GetSelected ( ) : bool
IsSelectable ( ) : bool
SetEnabled ( bool isEnabled ) : void
SetSelectable ( bool isSelectable ) : void
SetSelected ( bool selected ) : void

Protected Methods

Method Description
DrawButton ( ) : void

Private Methods

Method Description
AddSelectable ( GUIButtonBase, obj ) : void

Method Details

Disable() public method

public Disable ( ) : void
return void

Draw() public method

public Draw ( ) : void
return void

DrawButton() protected method

protected DrawButton ( ) : void
return void

Enable() public method

public Enable ( ) : void
return void

GUIButtonBase() public method

public GUIButtonBase ( GUIButtonData, data ) : UnityEngine
data GUIButtonData,
return UnityEngine

GUIButtonBase() public method

public GUIButtonBase ( GUIButtonData, data, Action buttonAction ) : UnityEngine
data GUIButtonData,
buttonAction Action
return UnityEngine

GetSelected() public method

public GetSelected ( ) : bool
return bool

IsSelectable() public method

public IsSelectable ( ) : bool
return bool

SetEnabled() public method

public SetEnabled ( bool isEnabled ) : void
isEnabled bool
return void

SetSelectable() public method

public SetSelectable ( bool isSelectable ) : void
isSelectable bool
return void

SetSelected() public method

public SetSelected ( bool selected ) : void
selected bool
return void

Property Details

OnButtonPressed public_oe property

public Action OnButtonPressed
return Action

m_OnSelected protected_oe property

protected Action m_OnSelected
return Action

text public_oe property

public string text
return string