Esempio n. 1
0
        /// <summary>
        /// Call this when EditorItem is created
        /// </summary>
        /// <param name="obj"></param>
        public void EditorItemCreated(EditorItem item)
        {
            if (!Disabled)
            {
                EditorCreateAction action = new EditorCreateAction(item);
                actions.Insert(currentActionIndex, action);
                currentActionIndex++;

                RemoveNotValidItems();
                EditorController.Instance.ProjectSaved = false;
            }
        }
Esempio n. 2
0
        /// <summary>
        /// Call this when EditorItem is created
        /// </summary>
        /// <param name="obj"></param>
        public void EditorItemCreated(EditorItem item)
        {
            if (!Disabled)
            {
                EditorCreateAction action = new EditorCreateAction(item);
                actions.Insert(currentActionIndex, action);
                currentActionIndex++;

                RemoveNotValidItems();
                EditorController.Instance.ProjectSaved = false;
            }
        }