![]() ![]() They don't account for different situations, like if the pivot values are set. ![]() I'm posting this because the existing solutions are incomplete, and I needed a better solution. PointerEventData eventData = new PointerEventData(EventSystem.current) eventData.position = Input.mousePosition Debug.Log(+" - "+) Į(eventData,rayresult) įor (int index = 0 index ().collider.p) ![]() I want to find where user clicked on image so that i can give that point to my flood fill algorithm, i have tried lot of things, i am now lost if someone can help me, i want position relative to image i can get screen point using Input.mousePosition I want to find where mouse has clicked on ui.image, i have canvas, then there is panel inside a canvas, some percent of canvas is covered with menu where person can select color remaining has an image with black outlines, its flood fill app, i have done everything but stuck at one point. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |