static int IntToEnum(IntPtr L)
    {
        int arg0 = (int)LuaDLL.lua_tonumber(L, 1);

        UnityEngine.ForceMode2D o = (UnityEngine.ForceMode2D)arg0;
        ToLua.Push(L, o);
        return(1);
    }
 static void Push(IntPtr L, UnityEngine.ForceMode2D arg)
 {
     ToLua.Push(L, arg);
 }