ConstructFromResource() public method

public ConstructFromResource ( ) : void
return void
Ejemplo n.º 1
0
 static int ConstructFromResource(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.GMovieClip obj = (FairyGUI.GMovieClip)ToLua.CheckObject <FairyGUI.GMovieClip>(L, 1);
         obj.ConstructFromResource();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Ejemplo n.º 2
0
 static public int ConstructFromResource(IntPtr l)
 {
     try {
         FairyGUI.GMovieClip  self = (FairyGUI.GMovieClip)checkSelf(l);
         FairyGUI.PackageItem a1;
         checkType(l, 2, out a1);
         self.ConstructFromResource(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Ejemplo n.º 3
0
 static int ConstructFromResource(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GMovieClip  obj  = (FairyGUI.GMovieClip)ToLua.CheckObject(L, 1, typeof(FairyGUI.GMovieClip));
         FairyGUI.PackageItem arg0 = (FairyGUI.PackageItem)ToLua.CheckObject(L, 2, typeof(FairyGUI.PackageItem));
         obj.ConstructFromResource(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }