public static IntPtr luaL_newstate_replace() { IntPtr intPtr = LuaDLL.luaL_newstate(); LuaProfiler.mainL = intPtr; MikuLuaProfilerLuaProfilerWrap.__Register(intPtr); return(intPtr); }
public static IntPtr luaL_newstate_replace() { lock (m_Lock) { IntPtr intPtr = luaL_newstate(); if (isHook) { LPLuaProfiler.mainL = intPtr; MikuLuaProfilerLuaProfilerWrap.__Register(intPtr); } return(intPtr); } }
public static IntPtr luaL_newstate_replace() { lock (m_Lock) { IntPtr intPtr = luaL_newstate(); MessageBox.Show("luastate 启动成功"); if (isHook) { LuaProfiler.mainL = intPtr; MikuLuaProfilerLuaProfilerWrap.__Register(intPtr); } MessageBox.Show(isHook.ToString()); return(intPtr); } }
public static IntPtr luaL_newstate() { IntPtr l = ProxyNewstate(); if (LuaDeepProfilerSetting.Instance.isDeepProfiler) { MikuLuaProfilerLuaProfilerWrap.__Register(l); Install(); LuaProfiler.mainL = l; if (LuaDeepProfilerSetting.Instance.isRecord) { GameViewUtility.ChangeGameViewSize(480, 270); } } return(l); }