- Home /
Resource.LoadAll Loading of new text file type
Is there a way to inform unity that .ai files are to be treated as text files? Maybe a config file somewhere?
We are trying to use .ai files in our project (they are actually text files), however Resource.LoadAll() does not recognize the files, and skips them. If we place a .txt file in the folder, then it loads it, but not .ai. I know this is the documented behavior.
I know that I can rename all the files to .xml and it will work, but I would prefer not to have to rename all the files, and then name them back to .ai when we want to edit them, and then name them back to compile/use.
Thanks.
Comment