AddValues() публичный Метод

public AddValues ( float values ) : void
values float
Результат void
        void Awake()
        {
            Debug.Log("PieExample Awake");
            ChartPie c = gameObject.GetComponent<ChartPie>();
            chart = c.UIChartPie;
            c.sortingOrder = 103;

            // set default values
            chart.AddValues(new float[] { 110, 100, 10, 200, 200, 700, 70 } );
            chart.SetColor(0, Color.white, Color.black);
            chart.SetColor(1, Color.red, Color.yellow);
            chart.SetColor(2, new Color32(0, 40, 0, 255), new Color32(0, 255, 0, 255));
            chart.Create();

            time = System.Environment.TickCount;
        }