Binary Text Asset Data File
4.0 | 29 Votes
What is a BYTES file?
File used by Unity, a 3D game development application; contains binary data from the text asset (commonly using but not limited to the .TXT extension) file; loaded as a text asset and accessed through the bytes property; extension must be manually changed to BYTES.
An example of the BYTES extension in use would be changing a .JPEG extension and putting it in your "Resources" folder. Then using the following script:
//Load texture from disk
TextAsset bindata= Resources.Load("Texture") as TextAsset;
Texture2D tex = new Texture2D(1,1);