C# Class Epigene.UI.UIChartPie

Inheritance: UIBaseObject
Exibir arquivo Open project: fi-content2-games-platform/FIcontent.Gaming.Enabler.phenomobilecharactermanager Class Usage Examples

Public Properties

Property Type Description
Colors List
Height float
Title string
Triangles List
Vertices List
Width float
scrollArea ScrollArea

Public Methods

Method Description
AddTriangle ( Vector3 p1, Vector3 p2, Vector3 p3, Color32 color1, Color32 color2 ) : void
AddValue ( float val ) : void
AddValues ( float values ) : void
Create ( ) : void
CreateLabel ( string id, string str, Vector3 pos, int size, Color color, int sortingOrder, TextAlignment alignement, TextAnchor anchor ) : void
CreateLabels ( ) : void
GetValue ( int index ) : float
RemoveValues ( ) : void
SetColor ( int index, Color32 color1, Color32 color2 ) : void
SetLabel ( int index, string newLabel ) : void
SetValue ( int index, float value ) : void
UIChartPie ( GameObject gameObject ) : UnityEngine

Private Methods

Method Description
Angle ( Vector3 a, Vector3 b ) : float

Method Details

AddTriangle() public method

public AddTriangle ( Vector3 p1, Vector3 p2, Vector3 p3, Color32 color1, Color32 color2 ) : void
p1 UnityEngine.Vector3
p2 UnityEngine.Vector3
p3 UnityEngine.Vector3
color1 UnityEngine.Color32
color2 UnityEngine.Color32
return void

AddValue() public method

public AddValue ( float val ) : void
val float
return void

AddValues() public method

public AddValues ( float values ) : void
values float
return void

Create() public method

public Create ( ) : void
return void

CreateLabel() public method

public CreateLabel ( string id, string str, Vector3 pos, int size, Color color, int sortingOrder, TextAlignment alignement, TextAnchor anchor ) : void
id string
str string
pos UnityEngine.Vector3
size int
color UnityEngine.Color
sortingOrder int
alignement TextAlignment
anchor TextAnchor
return void

CreateLabels() public method

public CreateLabels ( ) : void
return void

GetValue() public method

public GetValue ( int index ) : float
index int
return float

RemoveValues() public method

public RemoveValues ( ) : void
return void

SetColor() public method

public SetColor ( int index, Color32 color1, Color32 color2 ) : void
index int
color1 UnityEngine.Color32
color2 UnityEngine.Color32
return void

SetLabel() public method

public SetLabel ( int index, string newLabel ) : void
index int
newLabel string
return void

SetValue() public method

public SetValue ( int index, float value ) : void
index int
value float
return void

UIChartPie() public method

public UIChartPie ( GameObject gameObject ) : UnityEngine
gameObject UnityEngine.GameObject
return UnityEngine

Property Details

Colors public_oe property

public List Colors
return List

Height public_oe property

public float Height
return float

Title public_oe property

public string Title
return string

Triangles public_oe property

public List Triangles
return List

Vertices public_oe property

public List Vertices
return List

Width public_oe property

public float Width
return float

scrollArea public_oe property

public ScrollArea scrollArea
return ScrollArea