In the standalone build theres a Resources folder in the data path. If i put files in there could they be loaded with Resources.Load?
Im asking this because i want to provide some kind of modability for my game, like if you put textures in there the game will load these instead of the default ones.
Is this possible or do i need to make my custom solution with system.io?
No, that’s a different thing. The Resources “folder” is really compiled into a file in a build; it doesn’t exist as a folder.
Yes.
–Eric
WWW can load textures off the disk - provided you use the file:// protocol. If you want to load other stuff, System.IO has everything you need.
Didnt realise that stuff you put into resources isnt just lumped into the Resources folder in the build.
excellent.
/moves everything into the resources folder.
Specifically, stuff for scenes goes into Data/sharedAssets#.assets, where # is the scene number, and the Resources folder becomes Data/resources.assets. So there’s no particular reason to move everything into the Resources folder, and some reasons not to (such as everything in it being included whether you reference it or not).
–Eric
My main motivation would be so I can remove the handful of static classes ive made solely to hold a reference to a models/sounds/textures in the scene. I would rather be able to populate those classes on startup, rather than having lists of prefabs that are pre-created in my scenes.