T
T
Taranas2020-07-07 23:57:33
Unity
Taranas, 2020-07-07 23:57:33

How to find out the size of an Image object on a Canvas?

Good day!
We need to know the coordinates of the border of the Image. For the sprites, I used bounds.size / 2, but on the Image in the Canvas, the Sprite Renderer is missing and nothing comes out. I read about Canvas Renderer, but did not find anything suitable.
Help me please.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question