Skip to content

Commit 1b3b6d6

Browse files
author
András Kurai
committed
Add text assets
1 parent 5fbd288 commit 1b3b6d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

UnityResourceGenerator/Assets/AutSoft.UnityResourceGenerator/Editor/ResourceGeneratorSettings.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ public static ResourceGeneratorSettings GetOrCreateSettings
7979
// https://docs.unity3d.com/Manual/AudioFiles.html
8080
new ResourceData("AudioClips", new[]{"*.mp3", "*.ogg", "*.wav", "*.aiff", "*.aif", "*.mod", "*.it", "*.s3m", "*.xm"}, true),
8181
// https://docs.unity3d.com/Manual/ImportingTextures.html
82-
new ResourceData("Sprites", new[]{"*.bmp", "*.exr", "*.gif", "*.hdr", "*.iff", "*.jpg", "*.pict", "*.png", "*.psd", "*.tga", "*.tiff"}, true)
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)
8385
};
8486

8587
AssetDatabase.CreateAsset(settings, SettingsPath);

0 commit comments

Comments
 (0)