예제 #1
0
 protected override void OnSkillInterrupt()
 {
     base.OnSkillInterrupt();
     this.unit.skillManager.DestroyActions();
     this.unit.highEffManager.stopHighEffeCoroutine();
     LSDebug.log("skillinterrupted!");
 }
예제 #2
0
        private void genSpell(string strParam)
        {
            SpellEventData spellEventData = AnimEventsListener.parseFromString(strParam);

            if (spellEventData == null)
            {
                Debug.LogError("unrecognized spell event:" + strParam);
                return;
            }
            try
            {
                this.genBindSpell(spellEventData);
            }
            catch (NotFoundException ex)
            {
                LSDebug.error(ex.errInfo);
            }
        }
예제 #3
0
 public static double getInterval(int marker, bool clearTimer = false)
 {
     return(LSDebug.getInterval(marker.ToString(), clearTimer));
 }
예제 #4
0
 public static void resetTimer(int mark)
 {
     LSDebug.resetTimer(mark.ToString());
 }
예제 #5
0
 public static void finishFunc()
 {
     LSDebug.FuncCall funcCall = LSDebug.funcStacks.Pop();
     LSDebug.log(string.Format("function call: {0,-50} takes time:{1,-10}", funcCall.func, (DateTime.Now - funcCall.callTiming).TotalSeconds));
 }