public static bool AddUSSToAsset(BuilderPaneWindow paneWindow, string ussPath)
        {
            bool added = BuilderAssetUtilities.AddStyleSheetToAsset(paneWindow.document, ussPath);

            if (added)
            {
                paneWindow.OnEnableAfterAllSerialization();
            }

            return(added);
        }
Exemplo n.º 2
0
 public static void AddUSSToAsset(BuilderPaneWindow paneWindow, string ussPath)
 {
     BuilderAssetUtilities.AddStyleSheetToAsset(paneWindow.document, ussPath);
     paneWindow.OnEnableAfterAllSerialization();
 }