结构大修改,改成朴实无华的结构,不过度架构。能跑就行
This commit is contained in:
@@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using NBC.Editor;
|
||||
using NBC.Asset.Editor;
|
||||
using UnityEditor;
|
||||
using Debug = UnityEngine.Debug;
|
||||
|
||||
|
||||
@@ -18,7 +18,8 @@ namespace NBF
|
||||
}
|
||||
|
||||
DeleteStreamingAssetsBundleCache();
|
||||
NBC.Editor.Builder.Build();
|
||||
NBC.Asset.Editor.Builder.Build();
|
||||
// Builder.Build();
|
||||
}
|
||||
|
||||
void DeleteStreamingAssetsBundleCache()
|
||||
|
||||
@@ -266,7 +266,7 @@ public class RuntimePreviewEditor : EditorWindow
|
||||
|
||||
if (isPreviewing)
|
||||
{
|
||||
_previewPanel = App.UI.GetUI<PreviewPanel>();
|
||||
_previewPanel = UI.Inst.GetUI<PreviewPanel>();
|
||||
if (_previewPanel == null)
|
||||
{
|
||||
isPreviewing = false;
|
||||
|
||||
Reference in New Issue
Block a user