#Automatic File Reading

1 messages · Page 1 of 1 (latest)

crystal robin
#

so i want to make a script that works both in editor and when built where the script on game start can read all sprites in a folder and add their name and sprite data into a dictionary
anyone have any ideas how i can do this ty ❤️

crystal robin
#

i want to be a for a script to be able to look in a folder in my assets folder and add all of the sprites in it into an array/list/dictionary

crystal robin
muted lynx
#

At Runtime, you can use things like AssetBundle, Resources.Load, Streaming Asset, etc. For the editor approach, the use of AssetDatabase is prefer.