- Home /
Question by
BhargavChauhan · Jun 26, 2017 at 09:33 AM ·
canvasimageboxcollider2d
How to set the BoxCollider2D to screen width of UI Image
Hello guys
I have a canvas with below settings.
In that there is a UI Image with BoxCollider2D with below settings
What I want is to set the size of box collider 2d to the height of the image and width of the image.
any kind of help appreciated.
Thanks
image1.jpg
(19.1 kB)
image2.jpg
(87.0 kB)
Comment
Your answer
