public void ShowNestedConditionsGUI() { if (conditions.Count == 1) { currentViewCondition = conditions[0] as ConditionTask; } if (currentViewCondition) { EditorUtils.BoldSeparator(); currentViewCondition.ShowInspectorGUI(); } }