示例#1
0
        internal void RoleFSMStateCombo(INotificationSender target, int stateName)
        {
            if (StatesMapper == default)
            {
                return;
            }
            RoleFSMStateInfo info = StatesMapper[stateName];

            if (info == default)
            {
                return;
            }

            NotificationInfo[] list = info.stateComboNotice;
            SendRoleFSMStateNotifications(ref target, ref list);
        }
示例#2
0
        public void RoleFSMStateWillFinish(INotificationSender target, int stateName)
        {
            if (StatesMapper == default)
            {
                return;
            }
            RoleFSMStateInfo info = StatesMapper[stateName];

            if (info == default)
            {
                return;
            }

            NotificationInfo[] list = info.willFinishStateNotice;
            SendRoleFSMStateNotifications(ref target, ref list);
        }