If you’re looking for a solution to achieve 25-slice scaling directly in Unity’s UI system (uGUI), I recently developed a library called TwentyFive Slicer.
You can find the library on GitHub. It’s open-source and easy to integrate into your project.
Feel free to try it out, and let me know if you have any questions or suggestions! 😊