static int PostImage(IntPtr L) { try { ToLua.CheckArgsCount(L, 6); LuaFramework.SDKManager obj = (LuaFramework.SDKManager)ToLua.CheckObject <LuaFramework.SDKManager>(L, 1); string arg0 = ToLua.CheckString(L, 2); UnityEngine.Sprite arg1 = (UnityEngine.Sprite)ToLua.CheckObject(L, 3, typeof(UnityEngine.Sprite)); string arg2 = ToLua.CheckString(L, 4); string arg3 = ToLua.CheckString(L, 5); LuaFunction arg4 = ToLua.CheckLuaFunction(L, 6); obj.PostImage(arg0, arg1, arg2, arg3, arg4); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }