Exemplo n.º 1
0
 protected override void OnSkillInterrupt()
 {
     base.OnSkillInterrupt();
     this.unit.skillManager.DestroyActions();
     this.unit.highEffManager.stopHighEffeCoroutine();
     LSDebug.log("skillinterrupted!");
 }
Exemplo n.º 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);
            }
        }
Exemplo n.º 3
0
 public static double getInterval(int marker, bool clearTimer = false)
 {
     return(LSDebug.getInterval(marker.ToString(), clearTimer));
 }
Exemplo n.º 4
0
 public static void resetTimer(int mark)
 {
     LSDebug.resetTimer(mark.ToString());
 }
Exemplo n.º 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));
 }