Crop and scale texture in Unity
Simple utils to crop and scale Texture2D in Unity app.
As we can not use C# System.Drawing.Imaging namespaces in Unity, script make all manipulations with Texture2D.
- Crop texture with options: all corners, center or custom with offset
How to use
- Copy the files into your existing unity project asset folder
- Call scale or crop method
- You are the best
Open Demo scene and build, to try how it works