コード例 #1
0
 static int QPYX_SetImage_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 4);
         TextWrapEx          QPYX_obj_YXQP  = (TextWrapEx)ToLua.CheckObject <TextWrapEx>(L_YXQP, 1);
         int                 QPYX_arg0_YXQP = (int)LuaDLL.luaL_checknumber(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));
     }
 }
コード例 #2
0
 static int SetImage(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         TextWrapEx          obj  = (TextWrapEx)ToLua.CheckObject <TextWrapEx>(L, 1);
         int                 arg0 = (int)LuaDLL.luaL_checknumber(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));
     }
 }