static int RemoveComponents(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 1, typeof(UnityEngine.GameObject)); System.Type arg1 = (System.Type)ToLua.CheckObject(L, 2, typeof(System.Type)); GameObjectExtension.RemoveComponents(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }