Welcome,
Guest
. Please
login
or
register
.
December 07, 2024, 06:43:20 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
PopupList onChange firing twice.
« previous
next »
Print
Pages: [
1
]
Author
Topic: PopupList onChange firing twice. (Read 1239 times)
wallabie
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 200
PopupList onChange firing twice.
«
on:
March 26, 2014, 12:17:04 AM »
Hi,
I'm doing the following, and it's firing twice for each change:
popupList.onChange.Add(new EventDelegate(OnSelectionChange));
public void OnSelectionChange()
{
Debug.Log("popupList.value="+ popupList.value);
}
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: PopupList onChange firing twice.
«
Reply #1 on:
March 26, 2014, 03:01:23 AM »
The only way it can be called twice is if you added it twice.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
PopupList onChange firing twice.