Exemple #1
0
 private void InitDrawers()
 {
     spriteImport     = new SpriteImport();
     textImport       = new TextImport();
     sliderImport     = new SliderLayerImport(this);
     inputFiledImport = new InputFieldLayerImport();
     buttonImport     = new ButtonLayerImport(this);
     toggleImport     = new ToggleLayerImport(this);
     panelImport      = new PanelLayerImport(this);
     scrollViewImport = new ScrollViewLayerImport(this);
     scrollBarImport  = new ScrollBarLayerImport();
     gridImport       = new GridLayerImport(this);
     groupImport      = new GroupLayerImport(this);
     dropdownImport   = new DropDownLayerImport(this);
 }
Exemple #2
0
        private void InitDrawers()
        {
            spriteImport       = new SpriteImport();
            textImport         = new TextImport();
            textureImport      = new TextureImport();
            slicedSpriteImport = new SliceSpriteImport();
            halfSpriteImport   = new HalfSpriteImport();


            buttonImport          = new ButtonLayerImport(this);
            toggleImport          = new ToggleLayerImport(this);
            panelImport           = new PanelLayerImport(this);
            scrollViewImport      = new ScrollViewLayerImport(this);
            scrollBarImport       = new ScrollBarLayerImport(this);
            sliderImport          = new SliderLayerImport(this);
            gridImport            = new GridLayerImport(this);
            emptyImport           = new DefultLayerImport(this);
            groupImport           = new GroupLayerImport(this);
            inputFiledImport      = new InputFieldLayerImport(this);
            layoutElemLayerImport = new LayoutElementLayerImport(this);
        }
 public void RegistLayerimport(string key, ILayerImport layerImport)
 {
     layerImport.mechine = this;
     layerImportDic[key] = layerImport;
 }
 public void RegistEmptyImprot(ILayerImport layerImport)
 {
     emptyImporter         = layerImport;
     emptyImporter.mechine = this;
 }