Decodes Unity's Texture2D assets to image.
$ dotnet add package Kyaru.Texture2DDecoderDecodes Unity's Texture2D assets to image.
The original code is from Perfare/AssetStudio.
This project adds CMakeLists.txt to allow building with cmake on other platforms.
The wrapper is provided as a NuGet package.
We also provide native library package for the following platforms:
| Platform | NuGet Package |
|---|---|
| Windows | |
| Linux | |
| macOS | |
| Android | |
| iOS* | |
| WebAssembly | |
| MacCatalyst |
* iOS: only tested on simulator, not granted to work.
For how this package is built, and other details, see our wiki.