static int OnGUI(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); LaoHan.Infrastruture.lhDebug obj = (LaoHan.Infrastruture.lhDebug)ToLua.CheckObject(L, 1, typeof(LaoHan.Infrastruture.lhDebug)); obj.OnGUI(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
void OnGUI() { m_debug.OnGUI(); }