protected override void OnNodeInspectorGUI() { repeaterMode = (RepeaterMode)UnityEditor.EditorGUILayout.EnumPopup("Repeat Type", repeaterMode); if (repeaterMode == RepeaterMode.RepeatTimes) { repeatTimes = (BBParameter <int>)EditorUtils.BBParameterField("Repeat Times", repeatTimes); } else if (repeaterMode == RepeaterMode.RepeatUntil) { repeatUntilStatus = (RepeatUntilStatus)UnityEditor.EditorGUILayout.EnumPopup("Repeat Until", repeatUntilStatus); } }
protected override void OnNodeInspectorGUI() { repeaterMode = (RepeaterMode)UnityEditor.EditorGUILayout.EnumPopup("Repeat Type", repeaterMode); if (repeaterMode == RepeaterMode.RepeatTimes){ repeatTimes = (BBParameter<int>)EditorUtils.BBParameterField("Repeat Times", repeatTimes); } else if (repeaterMode == RepeaterMode.RepeatUntil){ repeatUntilStatus = (RepeatUntilStatus)UnityEditor.EditorGUILayout.EnumPopup("Repeat Until", repeatUntilStatus); } }