Пример #1
0
        private void TodoProgress(ref Todo todo)
        {
            GUI.color = todo.progress.color;
            int progressIndex = EditorGUILayout.Popup(todo.progress.index, _config.GetProgressStatuses());

            // Switch if modified
            if (progressIndex != todo.progress.index)
            {
                todo.progress = _config.GetProgressByIndex(progressIndex);
            }
            GUI.color = Color.white;
        }