This is a library that can use SkiaSharp in Unity
openupm add com.u2sb.skiasharp
And need to install system.runtime.compilerservices.unsafe
openupm add org.nuget.system.runtime.compilerservices.unsafe
or use NugetForUnity
Currently, the plugin only supports win-x64
platform. If you need other platforms, please add relevant support yourself, for example (note that the versions must be consistent):
win-x64
win-x86
win-arm64
: SkiaSharp.NativeAssets.Win32osx
: SkiaSharp.NativeAssets.macOSlinux-x64
linux-arm
linux-arm64
: SkiaSharp.NativeAssets.Linuxandroid-arm
android-arm64
android-x86
android-x64
: SkiaSharp.NativeAssets.Androidios
: SkiaSharp.NativeAssets.iOS