Exemplo n.º 1
0
        protected void executeCommand(ICommand command)
        {
            if (command == null)
            {
                return;
            }
#if UNITY_EDITOR
            ContextDebugging.OnCommandExecute(command);
#endif
            command.Execute();
        }
Exemplo n.º 2
0
        private void executeCommand(ISequenceCommand command)
        {
            if (command == null)
            {
                return;
            }
#if UNITY_EDITOR
            ContextDebugging.OnCommandExecute(command);
#endif
            command.Execute();
        }