How to cut a picture into sprites obtained via url (site \ folder) in unity?

  • 0
    Let's say I have strict standards for a picture (a certain size of the canvas itself, sprites in it at a certain distance, etc.), for example:

    How can I specify the path to the picture from the code, cut it into sprites and drop links to them into the previously declared array?
    C# Xander Hogan, Mar 9, 2020

  • 1 Answers
  • 0
    WWW class is used to download by url

    to create sprites the Sprite.Create method, textures are passed to it, coordinates from where to cut and privot


Your Answer
To place the code, please use CodePen or similar tool. Thanks you!