- Home /
How to load a textAsset not from resources and add it as Script Component?
Hello, unity experts! Is there some way to load a text file from local filesystem (.js for example from iPod data folder) and assign it as a Script Component to game object?
I've managed to load it by File class, but I can't figure the way to use it. And WWW class gives me errors like "I can access data only by assetBondle property! But assetBondle property is inaccessible and error property is null".
Or maybe there is a way to change the Resource's folder contents other than from Unity3D editor?
Comment