Welcome,
Guest
. Please
login
or
register
.
June 12, 2026, 05:22:40 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How can i know which button ID on the scroll view with multi buttons inside
« previous
next »
Print
Pages: [
1
]
Author
Topic: How can i know which button ID on the scroll view with multi buttons inside (Read 3994 times)
baby_demon
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 7
How can i know which button ID on the scroll view with multi buttons inside
«
on:
January 08, 2013, 04:01:17 AM »
Base on Example #7 - Scroll View (Panel)
How can i determine which Item in the UIGrid when i Click an item.
I want to to destroy item when i click on it.
Logged
Cripple
TNP Alpha
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 117
Re: How can i know which button ID on the scroll view with multi buttons inside
«
Reply #1 on:
January 08, 2013, 04:26:11 AM »
How about making your item a button ?
Logged
Graphicstream Dev.
baby_demon
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 7
Re: How can i know which button ID on the scroll view with multi buttons inside
«
Reply #2 on:
January 09, 2013, 02:48:18 AM »
thank you.
This works for me.
I actually need transparent all others buttons except the button which clicked.
Logged
Cripple
TNP Alpha
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 117
Re: How can i know which button ID on the scroll view with multi buttons inside
«
Reply #3 on:
January 09, 2013, 04:19:42 AM »
Btw you don't have to make the item especially a button, you just need to add a Collider to it and override the functions :
http://www.tasharen.com/?page_id=160
Logged
Graphicstream Dev.
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How can i know which button ID on the scroll view with multi buttons inside