示例#1
0
        public void Dispatch()
        {
#if UNITY_EDITOR
            ContextDebugging.OnSignalDispatch(this, SubscriptionCount);
#endif
            Listener();
        }
        public virtual void SetBinderName(string binderName)
        {
            this.binderName = binderName;
#if UNITY_EDITOR
            ContextDebugging.OnNewBinderInstance(this);
#endif
        }
示例#3
0
        public void Dispatch()
        {
#if UNITY_EDITOR
            ContextDebugging.OnSignalDispatch(this, SubscriptionCount);
#endif
            Listener();
            OnceListener();
            OnceListener = delegate { };
            base.Dispatch(null);
        }
示例#4
0
        protected void executeCommand(ICommand command)
        {
            if (command == null)
            {
                return;
            }
#if UNITY_EDITOR
            ContextDebugging.OnCommandExecute(command);
#endif
            command.Execute();
        }
示例#5
0
        private void executeCommand(ISequenceCommand command)
        {
            if (command == null)
            {
                return;
            }
#if UNITY_EDITOR
            ContextDebugging.OnCommandExecute(command);
#endif
            command.Execute();
        }