Reputation: 2230
I have a huge png file folder (1000+ png files), and I want to use them as 2D and UI Sprite. But when I import these, it's imported as Default. I can change each of these manually, but since there are a number of files, it would be q really tedious and time-consuming task. Is there a way to change these file's import setting via script, or just import as 2D and UI sprite setting, not Default?
Upvotes: 1
Views: 681
Reputation: 9218
Try selecting all of them using Ctrl+A in the project folder view of the PNGs. You can then change an inspector value for all at once.
Make sure only PNGs are selected, or else, the inspector won't show the respective toggler interface.
If the PNGs are in multiple sub-folders, you can still select all of them. Just search, in the project explorer pane search box, for t:Texture2D
Upvotes: 1
Reputation: 569
unity3d inspector show all mutual features of objects you select. select them all and change all of them to Sprite 2D
Upvotes: 1