@@ -71,17 +71,16 @@ public static ResourceGeneratorSettings GetOrCreateSettings
7171 settings . _logInfo = logInfo ?? false ;
7272 settings . _logError = logError ?? true ;
7373
74+ // https://docs.unity3d.com/Manual/BuiltInImporters.html
7475 settings . _data = new List < ResourceData >
7576 {
7677 new ResourceData ( "Scenes" , new [ ] { "*.unity" } , false ) ,
7778 new ResourceData ( "Prefabs" , new [ ] { "*.prefab" } , true ) ,
7879 new ResourceData ( "Materials" , new [ ] { "*.mat" } , true ) ,
79- // https://docs.unity3d.com/Manual/AudioFiles.html
80- new ResourceData ( "AudioClips" , new [ ] { "*.mp3" , "*.ogg" , "*.wav" , "*.aiff" , "*.aif" , "*.mod" , "*.it" , "*.s3m" , "*.xm" } , true ) ,
81- // https://docs.unity3d.com/Manual/ImportingTextures.html
82- new ResourceData ( "Sprites" , new [ ] { "*.bmp" , "*.exr" , "*.gif" , "*.hdr" , "*.iff" , "*.jpg" , "*.pict" , "*.png" , "*.psd" , "*.tga" , "*.tiff" } , true ) ,
83- // https://docs.unity3d.com/Manual/class-TextAsset.html
84- new ResourceData ( "TextAssets" , new [ ] { "*.txt" , "*.html" , "*.htm" , "*.xml" , "*.bytes" , "*.json" , "*.csv" , "*.yaml" , "*.fnt" } , true )
80+ new ResourceData ( "AudioClips" , new [ ] { "*.ogg" , "*.aif" , "*.aiff" , "*.flac" , "*.mp3" , "*.mod" , "*.it" , "*.s3m" , "*.xm" } , true ) ,
81+ new ResourceData ( "Sprites" , new [ ] { "*.jpg" , "*.jpeg" , "*.tif" , "*.tiff" , "*.tga" , "*.gif" , "*.png" , "*.psd" , "*.bmp" , "*.iff" , "*.pict" , "*.pic" , "*.pct" , "*.exr" , "*.hdr" } , true ) ,
82+ new ResourceData ( "TextAssets" , new [ ] { "*.txt" , "*.html" , "*.htm" , "*.xml" , "*.bytes" , "*.json" , "*.csv" , "*.yaml" , "*.fnt" } , true ) ,
83+ new ResourceData ( "Fonts" , new [ ] { "*.ttf" , "*.dfont" , "*.otf" , "*.ttc" } , true )
8584 } ;
8685
8786 AssetDatabase . CreateAsset ( settings , SettingsPath ) ;
0 commit comments