static int SetTarget(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); ToLua_DG_Tweening_Tween obj = (ToLua_DG_Tweening_Tween)ToLua.CheckObject(L, 1, typeof(ToLua_DG_Tweening_Tween)); object arg0 = ToLua.ToVarObject(L, 2); DG.Tweening.Tween o = obj.SetTarget(arg0); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }