public void CreateNewRoot() { var previewRoot = new Column { name = "preview-root" }; rootVisualElement.Clear(); rootVisualElement.Add(previewRoot); UIDesignerScene.UIRoot = previewRoot; UIDesignerScene.RefreshHierarchy(); }
public void Refresh() { Reload(); UIDesignerScene.RefreshPreview(); }