Exemple #1
0
        public static void AddBarChartGraph(MenuCommand menuCommand)
        {
            GameObject barChart = SpringGUIDefaultControls.CreateBarChart(GetStandardResources());

            PlaceUIElementRoot(barChart, menuCommand);
            barChart.transform.localPosition = Vector3.zero;
            barChart.AddComponent <BarChart>();
        }