How to make the size of the sprite was equal to the specified value in pixels?
If just doing
Sprite.transform.localScale = new Vector3((70), ((70)), 0.001f); That sprite just swells gigantically and that is why - it has the external value localScale, it is initially = 1,1,1. But inside this value, the sprite itself already has some size, and this is definitely not a 1x1x1 pixel, but, say, 50x50x1 pixels. It turns out, with this operation, we get the size of 3500x3500, which of course is absolutely not necessary.
The question is how to get access to the internal size of the sprite, which is not 1x1x1 in the inspector, but in the explorer, for example, 320x160.
Or, if it doesn't make sense, how easy it is to scale the sprite, exactly as many pixels as I need. I use Toolkit2d in Unity, so that solutions will come from there.