void Initialize() { configChanged = false; filterType = AssetBundleDispatcherFilterType.Root; targetAssetPath = AssetDatabase.GetAssetPath(target); if (!AssetBundleUtility.IsPackagePath(targetAssetPath)) { return; } packagePath = AssetBundleUtility.AssetsPathToPackagePath(targetAssetPath); databaseAssetPath = AssetBundleInspectorUtils.AssetPathToDatabasePath(targetAssetPath); dispatcherConfig = AssetDatabase.LoadAssetAtPath <AssetBundleDispatcherConfig>(databaseAssetPath); if (dispatcherConfig != null) { dispatcherConfig.Load(); filterType = dispatcherConfig.Type; } }