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