- Home /
Question by
kilian277 · Aug 23, 2013 at 09:22 PM ·
fileresourcesresources.loadbinary
Reading binary file from Resources folder
Hi,
I wan't to load a binary file from the Resources folder , but the documents says i need to give the file the .bytes extension , but i do not want to do that.
Any way of bypassing this to keep the original extension of the file ?
Comment
At runtime so when i play the game in the edtor and also when the user runs the .exe build
Answer by Slobdell · Aug 25, 2013 at 01:28 PM
Why not change the extension? It's just 0s and 1s you can turn it back into whatever you want at runtime.
yea i'm doing this already , it's just unity forces you to do things their way and it's just somehting i dont like.