Ejemplo n.º 1
0
    public void RemovePreview()
    {
        var list = ElementUtils.GetComponentsInChildrenNoRescure <ElementCreator>(this.transform);

        foreach (var creator in list)
        {
            creator.RemvoePreview();
        }
    }
Ejemplo n.º 2
0
 public void Preview()
 {
     Create(Root.Preview);
     if (PreviewElement != null)
     {
         var list = ElementUtils.GetComponentsInChildrenNoRescure <ElementCreator>(PreviewElement.transform);
         foreach (var creator in list)
         {
             creator.Preview();
         }
     }
     ApplyParam(PreviewElement);
 }