public static void AddCalendar(MenuCommand menuCommand) { GameObject calendar = SpringGUIDefaultControls.CreateCalendar(GetStandardResources()); PlaceUIElementRoot(calendar, menuCommand); calendar.transform.localPosition = Vector3.zero; }
public static void AddDatePicker(MenuCommand menuCommand) { GameObject datePicker = SpringGUIDefaultControls.CreateDatePicker(GetStandardResources()); PlaceUIElementRoot(datePicker, menuCommand); datePicker.transform.localPosition = Vector3.zero; }
public static void AddLineChartGraph(MenuCommand menuCommand) { GameObject lineGraph = SpringGUIDefaultControls.CreateLineChartGraph(GetStandardResources()); PlaceUIElementRoot(lineGraph, menuCommand); lineGraph.transform.localPosition = Vector3.zero; lineGraph.AddComponent <LineChart>(); }
public static void AddColorPicker(MenuCommand menuCommand) { GameObject colorPicker = SpringGUIDefaultControls.CreateColorPicker(GetStandardResources()); PlaceUIElementRoot(colorPicker, menuCommand); colorPicker.transform.localPosition = Vector3.zero; colorPicker.AddComponent <ColorPicker>(); }
public static void AddBarChartGraph(MenuCommand menuCommand) { GameObject barChart = SpringGUIDefaultControls.CreateBarChart(GetStandardResources()); PlaceUIElementRoot(barChart, menuCommand); barChart.transform.localPosition = Vector3.zero; barChart.AddComponent <BarChart>(); }
public static void AddRadarMap(MenuCommand menuCommand) { GameObject radarMap = SpringGUIDefaultControls.CreateRadarMap(GetStandardResources()); PlaceUIElementRoot(radarMap, menuCommand); radarMap.transform.localPosition = Vector3.zero; radarMap.AddComponent <RadarMap>(); }
public static void AddPieGraph(MenuCommand menuCommand) { GameObject pieGraph = SpringGUIDefaultControls.CreatePieGraph(GetStandardResources()); PlaceUIElementRoot(pieGraph, menuCommand); pieGraph.transform.localPosition = Vector3.zero; pieGraph.AddComponent <PieGraph>(); }
public static void AddHorizontalColoredTape(MenuCommand menuCommand) { GameObject coloredTape = SpringGUIDefaultControls.CreataHorizontalColoredTape(GetStandardResources()); PlaceUIElementRoot(coloredTape, menuCommand); coloredTape.transform.localPosition = Vector3.zero; ColoredTape tape = coloredTape.GetComponent <ColoredTape>(); tape.TapeDirection = ColoredTape.E_DrawDirection.Horizontal; }
public static void AddLongClickButton(MenuCommand menuCommand) { GameObject lcButton = SpringGUIDefaultControls.CreateLongClickButton(GetStandardResources()); PlaceUIElementRoot(lcButton, menuCommand); }
public static void AddUITreeNode(MenuCommand menuCommand) { GameObject uiTreeNode = SpringGUIDefaultControls.CreateUITree(GetStandardResources()); PlaceUIElementRoot(uiTreeNode, menuCommand); }