示例#1
0
        public void DoRunTimeInterrupt(IUserCmd cmd)
        {
            var states = stateCollector.GetCurrStates(EPlayerStateCollectType.UseCacheAddation);

#if UNITY_EDITOR
            if (GlobalConst.EnableStateLog)
            {
                StringBuilder stringBuilder = new StringBuilder();
                foreach (var s in states)
                {
                    stringBuilder.Append(s);
                    stringBuilder.Append('|');
                }
                DebugUtil.MyLog(stringBuilder);
            }
#endif
            stateInterrupter.DoRunTimeInterrupt(states, cmd);
        }
 public HashSet <EPlayerState> GetCurrStates(
     EPlayerStateCollectType collectType = EPlayerStateCollectType.UseCache)
 {
     return(stateCollector.GetCurrStates(collectType));
 }