Ejemplo n.º 1
0
 static int QPYX_SetImage_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 4);
         TextWrap             QPYX_obj_YXQP  = (TextWrap)ToLua.CheckObject <TextWrap>(L_YXQP, 1);
         UnityEngine.UI.Image QPYX_arg0_YXQP = (UnityEngine.UI.Image)ToLua.CheckObject <UnityEngine.UI.Image>(L_YXQP, 2);
         UnityEngine.Sprite   QPYX_arg1_YXQP = (UnityEngine.Sprite)ToLua.CheckObject(L_YXQP, 3, typeof(UnityEngine.Sprite));
         UnityEngine.Vector3  QPYX_arg2_YXQP = ToLua.ToVector3(L_YXQP, 4);
         QPYX_obj_YXQP.SetImage(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Ejemplo n.º 2
0
 static int SetImage(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         TextWrap             obj  = (TextWrap)ToLua.CheckObject <TextWrap>(L, 1);
         UnityEngine.UI.Image arg0 = (UnityEngine.UI.Image)ToLua.CheckObject <UnityEngine.UI.Image>(L, 2);
         UnityEngine.Sprite   arg1 = (UnityEngine.Sprite)ToLua.CheckObject(L, 3, typeof(UnityEngine.Sprite));
         UnityEngine.Vector3  arg2 = ToLua.ToVector3(L, 4);
         obj.SetImage(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }