private void HandleGoalClick(DataGoal goal) { if (goal is DataAssignment) { DataAssignment assignment = goal as DataAssignment; if (assignment.IsSubmitted) { ScreenInspectAssignmentDone.Open(assignment, true); } else { ScreenInspectAssignment.Open(assignment, true); } } else { ScreenMonthlyCheck.Open(goal); } }
private void InspectSubmitted(int id) { mSlideArea.SetExitEdge(RectTransform.Edge.Left); ScreenInspectAssignmentDone.Open(DataManager.Assignment.GetAssignment(id)); }