public virtual int BeginPCall(TracePCall trace = TracePCall.Trace) { #if UNITY_EDITOR if (oldTop != -1) { //整个调用过程未完成被嵌套调用回自己 Debugger.LogError("you muse call EndPCall before call BeginPCall again"); } #endif this.trace = trace; oldTop = luaState.BeginPCall(reference, trace); return(oldTop); }
public virtual int BeginPCall(TracePCall trace = TracePCall.Trace) { #if UNITY_EDITOR if (oldTop != -1) { //整个调用过程未完成被嵌套调用回自己 Debugger.LogError("you muse call EndPCall before call BeginPCall again"); } #endif this.trace = trace; oldTop = luaState.BeginPCall(reference, trace); return oldTop; }