.BYTES 文件扩展名
Binary Text Asset Data File
| 开发者 | Unity Technologies |
| 受欢迎程度 |
4.0 | 30 票 |
什么是 BYTES 文件?
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);
tex.LoadImage(bindata.bytes);
可打开或引用 BYTES 文件的程序
Windows
Mac