public VisualElement GetVisuals() { VisualElement containerUI = null; var containerAsset = AssetDatabase.LoadAssetAtPath <VisualTreeAsset>(Uxml.Path.Disabled); if (containerAsset != null) { containerUI = containerAsset.CloneTree().contentContainer; LearnMoreVisualHelper.SetupLearnMore(containerUI); } return(containerUI); }
public VisualElement GetVisuals() { VisualElement containerUI = null; var containerAsset = AssetDatabase.LoadAssetAtPath <VisualTreeAsset>(Uxml.Path.Enabled); if (containerAsset != null) { containerUI = containerAsset.CloneTree().contentContainer; SetupHistorySection(containerUI); SetupPublishSection(containerUI); SetupCloudStorage(containerUI); LearnMoreVisualHelper.SetupLearnMore(containerUI); } return(containerUI); }