- Home /
Horizontal Scrollbar with swipe
I am making a horizontal scrollbar with swipe in it. my touches and swipe are working fine but, the problem is that the touch and swipe still works if i touch it outside the window rectangle containing buttons.
i have used rect.contains (touch.position) but it is stil not working. any type of help would be appriciated. thanks in advance.
You need to include more information. We can't identify what you're doing wrong if we have nothing to go on.
it is very likely at some point you are mixing-up coordinates on the glass with coordinates in game space
Your answer

Follow this Question
Related Questions
Touch swiper still rotating camera over a button 1 Answer
iOS Scroll Effect - SceneGUI Objects 0 Answers
Suppress Horizontal Scrollbar? 2 Answers
Sensing if a string is multi - lined 2 Answers
Alternative to GUI Scrollview ? 1 Answer