public override void OnInspectorGUI() { base.OnInspectorGUI(); string path = AssetDatabase.GetAssetPath(target); GUILayout.Button("我是场景"); if (path.EndsWith("")) { } if (!AssetBundleInspectorUtils.CheckMaybeAssetBundleAsset(targetAssetPath)) { return; } GUI.enabled = true; if (dispatcherConfig == null) { DrawCreateAssetBundleDispatcher(); } else { DrawAssetBundleDispatcherInspector(); } }
public override void OnInspectorGUI() { base.OnInspectorGUI(); if (!AssetBundleInspectorUtils.CheckMaybeAssetBundleAsset(targetAssetPath)) { return; } GUI.enabled = true; if (dispatcherConfig == null) { DrawCreateAssetBundleDispatcher(); } else { DrawAssetBundleDispatcherInspector(); } }