What would be good way to scale sprites drawn with SpriteRenderer?

I would need to scale some instances of sprites drawn with SpriteRenderer on runtime. The only way I have found so far is to change gameobject’s localScale, but unfortunately it has major performance issues that makes it useless in practice.

Are there any other feasible way to scale the sprites available at the moment?

What major performance issues? I haven’t seen any.

–Eric

I think this one here with non-uniform scaling…

Oh gosh! Yes, I was thinking of it as being non-uniform scaling issue that was noted in some cases with localScale around, but after Eric’s reply I started to scratch my head if it really could be that I missed something else and indeed the localScale was not issue after all.

Silly thing, had been troubleshooting it as localScale issue for a day and then realized that it was not in the case in an hour after posting.

So, localScale is just fine, it was my own mistake. Thanks for your both for your replies though :slight_smile:

… as a note to myself, whenever I become rich enough, the profiling tools would most likely be good enough reason to invest for pro version :smile: