Hello everyone! I need to get a texture of a sprite renderer.
If I write this code, it returns the whole atlas, but I need just the part, which actually renders
GetComponent<SpriteRenderer>().sprite.texture; // This returns the whole atlas
I just need this little part, not the whole atlas:
[84639-безымянныи.png|84639]