static int QPYX_FindSpriteByName_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         SpriteHolder       QPYX_obj_YXQP  = (SpriteHolder)ToLua.CheckObject <SpriteHolder>(L_YXQP, 1);
         string             QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         UnityEngine.Sprite QPYX_o_YXQP    = QPYX_obj_YXQP.FindSpriteByName(QPYX_arg0_YXQP);
         ToLua.PushSealed(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Example #2
0
 static int FindSpriteByName(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         SpriteHolder       obj  = (SpriteHolder)ToLua.CheckObject <SpriteHolder>(L, 1);
         string             arg0 = ToLua.CheckString(L, 2);
         UnityEngine.Sprite o    = obj.FindSpriteByName(arg0);
         ToLua.PushSealed(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }