Welcome,
Guest
. Please
login
or
register
.
March 15, 2025, 01:11:37 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scroll view + buttons (Solved)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Scroll view + buttons (Solved) (Read 3481 times)
Yurik
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Scroll view + buttons (Solved)
«
on:
February 08, 2013, 06:34:37 AM »
I have created a scrollview and filled it with buttons. When I try to scroll the scrollview by putting mouse on the button it doesn't work because of button collider. But it is not comfortable to put mouse between buttons to scroll. any ideas how fix it?
«
Last Edit: February 08, 2013, 08:45:54 AM by Yurik
»
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Scroll view + buttons
«
Reply #1 on:
February 08, 2013, 08:28:51 AM »
Put the same script on the button as well.
Logged
Yurik
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Re: Scroll view + buttons (Solved)
«
Reply #2 on:
February 08, 2013, 08:45:01 AM »
Yes! But the button changes it's style while i am dragging it. But it is not problem to run "on press effect" in OnClick function.
Thank you very much.
Logged
no-tec
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 7
Re: Scroll view + buttons (Solved)
«
Reply #3 on:
February 19, 2014, 03:04:48 AM »
Trying to do the same thing here, but the buttons are actually prefabs getting loaded into the scrollview. This means I can't connect the "ScrollView" [from the UIDrag Scroll View Script] to it's ScrollVeiw parent. Any ideas? Thanks!
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Scroll view + buttons (Solved)
«
Reply #4 on:
February 19, 2014, 12:39:44 PM »
It gets done automatically as long as the script can be found on a parent object.
Logged
no-tec
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 7
Re: Scroll view + buttons (Solved)
«
Reply #5 on:
February 22, 2014, 09:53:15 PM »
Great! Thanks for the help. I seem to have trouble being able to drag the scrollview when I click+drag over a button (It just activates the button and the view wont drag) Are there any special perams I'm missing here?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Scroll view + buttons
«
Reply #6 on:
February 23, 2014, 12:15:51 PM »
Quote from: ArenMook on February 08, 2013, 08:28:51 AM
Put the same script on the button as well.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scroll view + buttons (Solved)