ConstructFromXML() public method

public ConstructFromXML ( XML cxml ) : void
cxml FairyGUI.Utils.XML
return void
コード例 #1
0
 static public int ConstructFromXML(IntPtr l)
 {
     try {
         FairyGUI.GProgressBar self = (FairyGUI.GProgressBar)checkSelf(l);
         FairyGUI.Utils.XML    a1;
         checkType(l, 2, out a1);
         self.ConstructFromXML(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #2
0
 static int ConstructFromXML(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GProgressBar obj  = (FairyGUI.GProgressBar)ToLua.CheckObject <FairyGUI.GProgressBar>(L, 1);
         FairyGUI.Utils.XML    arg0 = (FairyGUI.Utils.XML)ToLua.CheckObject <FairyGUI.Utils.XML>(L, 2);
         obj.ConstructFromXML(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }