- Home /
Resources.load
In one asset folder I have texture and tex asset
MyAssetsFolder ->animation.png
MyAssetsFolder ->animation.txt
when i trying to load Resources.load("animation") as
I have errors, if one if assets missing loading is fine. Is any way to solve this problem without changing name's or directories? thx.
Comment
Answer by moinchdog · Dec 03, 2012 at 07:32 AM
you need to put "animation.png" and "animation.txt" in a folder called Resources. Thats were unity looks for files when Resources.Load is called.
thx, for your replay, but I'm not asking how to load resorses.
one more time:
if one if assets missing loading is fine. Is any way to solve this problem without changing name's or directories? thx.