public void SetHighlight(HighlightType type, uint thingId) { if (currentReport != null) { paths.SetHighlight(type, thingId); if (type == HighlightType.None) { ui.SetHighlightData(null, 0); } else { ui.SetHighlightData(currentReport.CountEntiesTypes(type, thingId), currentReport.allEntities.Length); } } }
internal void OnGotReport(Report report) { currentReport = report; base.ToolCursor = m_cursor; paths.SetReport(report); if (report == null) { ui.SetSelectedData(null); ui.SetHighlightData(null, 0); } else { ui.SetSelectedData(report.CountEntiesTypes()); #if DEBUG report.Save("report.xml"); #endif } }
internal void OnGotReport(Report report) { currentReport = report; base.ToolCursor = m_cursor; paths.SetReport(report); if (report == null) { ui.SetSelectedData(null); ui.SetHighlightData(null, 0); } else { ui.SetSelectedData(report.CountEntiesTypes()); #if DEBUG report.Save("report.xml"); #endif } }