public void RegenerateProjectAssets(SerializedAssetDatabaseBlacklist blacklist = null) { #if UNITY_EDITOR if (blacklist == null) { blacklist = SerializedAssetDatabaseBlacklist.Default; } serializedAssets = new SerializedAssetDictionary(); foreach (string file in GetAssetFiles(@"Assets/", blacklist)) { serializedAssets.Add(file, AssetDatabase.LoadAssetAtPath(file, typeof(Object))); } #endif }
public SerializedAssetDatabase() { serializedAssets = new SerializedAssetDictionary(); }