How to get the Center of an alpha Image in script (c#)?
Hi, I Want to get the center of the blue square "not the center of the image" only the blue square is there anyway to tell the Script to ignore the whole alpha zone and only detect the blue square position?
32323.png
(115.8 kB)
Comment
Your answer
Follow this Question
Related Questions
How to crop an alpha UI image? 0 Answers
RectTransform offset renders wrong (UnityAndroid) 0 Answers
Help! with the Message text 0 Answers
Turning every color in an image to many GameObjects ? 0 Answers
UI Canvas Anchor points are stuck in the bottom left corner and disabled when in overlay mode. 1 Answer