Base class for implementation of commands that can be recorded in the UndoRedo system.
Inheritance: ScriptObject
Example #1
0
        /// <summary>
        /// Registers a new undo command.
        /// </summary>
        /// <param name="command">Command to register</param>
        public void RegisterCommand(UndoableCommand command)
        {
            if (command == null)
            {
                return;
            }

            Internal_RegisterCommand(mCachedPtr, command.GetCachedPtr());
        }
Example #2
0
 private static extern void Internal_CreateInstance(UndoableCommand instance);