public void ActivateOutputPanel(InspectorTool.InspectorType inspectorType) { bool isLineType = inspectorType == InspectorTool.InspectorType.Line; lineInspectorOutput.gameObject.SetActive(isLineType ? true : false); areaInspectorOutput.gameObject.SetActive(isLineType ? false : true); }
public void ActivateEntryInfo(InspectorTool.InspectorType inspectorType) { bool isLineType = inspectorType == InspectorTool.InspectorType.Line; lineInspectorEntryInfo.gameObject.SetActive(isLineType ? true : false); areaInspectorEntryInfo.gameObject.SetActive(isLineType ? false : true); }
public void ShowHeader(InspectorTool.InspectorType inspectorType, bool show) { if (inspectorType == InspectorTool.InspectorType.Line) { lineInspectorOutput.ShowHeader(show); } else { areaInspectorOutput.ShowHeader(show); } }
public void ShowMetricsHeaderAndDropdown(InspectorTool.InspectorType inspectorType, bool show) { if (inspectorType == InspectorTool.InspectorType.Line) { lineInspectorOutput.ShowMetricsHeaderAndDropdown(show); } else { areaInspectorOutput.ShowMetricsHeaderAndDropdown(show); } }
public void ResetAndClearOutput(InspectorTool.InspectorType inspectorType) { if (inspectorType == InspectorTool.InspectorType.Line) { lineInspectorOutput.ResetAndClearOutput(); } else { areaInspectorOutput.ResetAndClearOutput(); } }
public void SetInspection(InspectorTool.InspectorType inspectorType, int index) { if (inspectorType == InspectorTool.InspectorType.Line) { lineInspectorOutput.SetLineInspection(index); } else { areaInspectorOutput.SetAreaInspection(index); } }
public void ComputeAndUpdateMetrics(InspectorTool.InspectorType inspectorType) { if (inspectorType == InspectorTool.InspectorType.Line) { lineInspectorOutput.ComputeAndUpdateMetrics(); } else { areaInspectorOutput.ComputeAndUpdateMetrics(); } }
public void SetDropDownInteractive(InspectorTool.InspectorType inspectorType, bool isOn) { if (inspectorType == InspectorTool.InspectorType.Line) { lineInspectorOutput.SetDropDownInteractive(isOn); } else { areaInspectorOutput.SetDropDownInteractive(isOn); } }
public void ShowInspectorOutputItemLabel(InspectorTool.InspectorType inspectorType, string itemName, bool show) { if (inspectorType == InspectorTool.InspectorType.Line) { lineInspectorOutput.ShowInspectorOutputItemLabel(itemName, show); } else { areaInspectorOutput.ShowInspectorOutputItemLabel(itemName, show); } }
public void ShowPropertiesAndSummaryLabel(InspectorTool.InspectorType inspectorType, bool show) { if (inspectorType == InspectorTool.InspectorType.Line) { lineInspectorOutput.ShowPropertiesAndSummaryLabel(show); } else { areaInspectorOutput.ShowPropertiesAndSummaryLabel(show); } }