Ejemplo n.º 1
0
 static int GetTextInfo(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         TMPro.TextMeshPro  obj  = (TMPro.TextMeshPro)ToLua.CheckObject <TMPro.TextMeshPro>(L, 1);
         string             arg0 = ToLua.CheckString(L, 2);
         TMPro.TMP_TextInfo o    = obj.GetTextInfo(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }