EqualStyle() public méthode

public EqualStyle ( TextFormat aFormat ) : bool
aFormat TextFormat
Résultat bool
Exemple #1
0
 static public int EqualStyle(IntPtr l)
 {
     try {
         FairyGUI.TextFormat self = (FairyGUI.TextFormat)checkSelf(l);
         FairyGUI.TextFormat a1;
         checkType(l, 2, out a1);
         var ret = self.EqualStyle(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int EqualStyle(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.TextFormat obj  = (FairyGUI.TextFormat)ToLua.CheckObject(L, 1, typeof(FairyGUI.TextFormat));
         FairyGUI.TextFormat arg0 = (FairyGUI.TextFormat)ToLua.CheckObject(L, 2, typeof(FairyGUI.TextFormat));
         bool o = obj.EqualStyle(arg0);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }