// Start is called before the first frame update public void SetUp(PMUtility pm_utility) { this.pm_utility = pm_utility; PM_Picture picture = GetPictureFromJSON(); GenerateGanttChart(picture); }
void Start() { camera = Camera.main; currentState = State.Idle; RightGroupObject = GanttRightPanel.GetComponentsInChildren <GroupContent>(); LeftGroupObject = GanttLeftPanel.GetComponentsInChildren <GroupTitle>(); pm_utility = new PMUtility(); ganttChartView.SetUp(pm_utility); }