Welcome,
Guest
. Please
login
or
register
.
May 01, 2026, 10:25:43 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scroll View containing draggable icons
« previous
next »
Print
Pages: [
1
]
Author
Topic: Scroll View containing draggable icons (Read 3253 times)
Petroz
Guest
Scroll View containing draggable icons
«
on:
July 12, 2012, 04:35:23 AM »
Hi,
I am looking to make an inventory for my game. What I need is a scroll view containing icons which I can then drag into the real world.
I am basically considering a combination of these two examples:
http://www.tasharen.com/ngui/example13.html
http://www.tasharen.com/?page_id=4444
My main concern is having nested draggable objects. Will the system be able to distinguish between drags of the icon and drags of the scroll view correctly?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Scroll View containing draggable icons
«
Reply #1 on:
July 12, 2012, 04:48:35 AM »
Whatever collider is in front will be the object that will get your onpress/ondrag events.
Logged
Petroz
Guest
Re: Scroll View containing draggable icons
«
Reply #2 on:
July 12, 2012, 05:18:16 AM »
Thanks Aren, that makes sense.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scroll View containing draggable icons