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

        foreach (var creator in list)
        {
            creator.RemvoePreview();
        }
    }
Example #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);
 }