C# Class GUIContainer, tf_client

Inheritance: MonoBehaviour
Show file Open project: wids-eria/tf_client Class Usage Examples

Protected Properties

Property Type Description
drawBackground bool
elements GUIElementSettings>.Dictionary

Public Methods

Method Description
AddElement ( ) : void
AddElement ( GUIObject, obj, Vector2 relativePosition ) : void
AdjustElements ( ) : void
Draw ( ) : void
GUIContainer ( Rect zoneSize, bool drawBackground ) : UnityEngine
IsMouseOver ( ) : bool
RemoveElement ( ) : void
SetPosition ( Modifiable newPosition ) : void

Protected Methods

Method Description
ClearElements ( ) : void
GetSettings ( GUIObject, obj ) : GUIElementSettings,
RefreshElement ( GUIObject, &obj ) : void

Method Details

AddElement() public method

public AddElement ( ) : void
return void

AddElement() public method

public AddElement ( GUIObject, obj, Vector2 relativePosition ) : void
obj GUIObject,
relativePosition Vector2
return void

AdjustElements() public method

public AdjustElements ( ) : void
return void

ClearElements() protected method

protected ClearElements ( ) : void
return void

Draw() public method

public Draw ( ) : void
return void

GUIContainer() public method

public GUIContainer ( Rect zoneSize, bool drawBackground ) : UnityEngine
zoneSize Rect
drawBackground bool
return UnityEngine

GetSettings() protected method

protected GetSettings ( GUIObject, obj ) : GUIElementSettings,
obj GUIObject,
return GUIElementSettings,

IsMouseOver() public method

public IsMouseOver ( ) : bool
return bool

RefreshElement() protected method

protected RefreshElement ( GUIObject, &obj ) : void
obj GUIObject,
return void

RemoveElement() public method

public RemoveElement ( ) : void
return void

SetPosition() public method

public SetPosition ( Modifiable newPosition ) : void
newPosition Modifiable
return void

Property Details

drawBackground protected property

protected bool drawBackground
return bool

elements protected property

protected Dictionary elements
return GUIElementSettings>.Dictionary