.BYTES File Extension
Binary Text Asset Data File
Developer | Unity Technologies |
Popularity |
4.0 | 30 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.
More Information
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);
tex.LoadImage(bindata.bytes);
Programs that open or reference BYTES files
Windows
Mac