C# Class GILES.Interface.pb_GUIUtility

Exibir arquivo Open project: procore3d/giles

Public Properties

Property Type Description
ITEM_BACKGROUND_COLOR UnityEngine.Color
PADDING_RECT_OFFSET UnityEngine.RectOffset
PANEL_COLOR UnityEngine.Color

Public Methods

Method Description
AddVerticalLayoutGroup ( GameObject go ) : void
AddVerticalLayoutGroup ( GameObject go, RectOffset padding, int spacing, bool childForceExpandWidth, bool childForceExpandHeight ) : void
CreateHorizontalGroup ( ) : GameObject
CreateLabel ( string text ) : GameObject
CreateLabeledVerticalPanel ( string label ) : GameObject
DefaultFont ( ) : Font
GetFont ( string fontName ) : Font
GetNextSelectable ( Selectable current ) : Selectable
GetScreenRect ( this rectTransform ) : Rect
ScreenToGUIPoint ( Vector2 v ) : Vector2

Method Details

AddVerticalLayoutGroup() public static method

public static AddVerticalLayoutGroup ( GameObject go ) : void
go UnityEngine.GameObject
return void

AddVerticalLayoutGroup() public static method

public static AddVerticalLayoutGroup ( GameObject go, RectOffset padding, int spacing, bool childForceExpandWidth, bool childForceExpandHeight ) : void
go UnityEngine.GameObject
padding UnityEngine.RectOffset
spacing int
childForceExpandWidth bool
childForceExpandHeight bool
return void

CreateHorizontalGroup() public static method

public static CreateHorizontalGroup ( ) : GameObject
return UnityEngine.GameObject

CreateLabel() public static method

public static CreateLabel ( string text ) : GameObject
text string
return UnityEngine.GameObject

CreateLabeledVerticalPanel() public static method

public static CreateLabeledVerticalPanel ( string label ) : GameObject
label string
return UnityEngine.GameObject

DefaultFont() public static method

public static DefaultFont ( ) : Font
return UnityEngine.Font

GetFont() public static method

public static GetFont ( string fontName ) : Font
fontName string
return UnityEngine.Font

GetNextSelectable() public static method

public static GetNextSelectable ( Selectable current ) : Selectable
current UnityEngine.UI.Selectable
return UnityEngine.UI.Selectable

GetScreenRect() public static method

public static GetScreenRect ( this rectTransform ) : Rect
rectTransform this
return UnityEngine.Rect

ScreenToGUIPoint() public static method

public static ScreenToGUIPoint ( Vector2 v ) : Vector2
v UnityEngine.Vector2
return UnityEngine.Vector2

Property Details

ITEM_BACKGROUND_COLOR public_oe static_oe property

public static Color,UnityEngine ITEM_BACKGROUND_COLOR
return UnityEngine.Color

PADDING_RECT_OFFSET public_oe static_oe property

public static RectOffset,UnityEngine PADDING_RECT_OFFSET
return UnityEngine.RectOffset

PANEL_COLOR public_oe static_oe property

public static Color,UnityEngine PANEL_COLOR
return UnityEngine.Color