Author Topic: Bug with Toggle Selected Event  (Read 3635 times)

luffy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Bug with Toggle Selected Event
« on: December 10, 2013, 06:19:00 AM »
I add listener to a toggle's on Selected,when i run the application and click anywhere ,the toggle's On Selected(GameObject ,bool) will be triggerred :-[,NGUI version 3.0.7

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Bug with Toggle Selected Event
« Reply #1 on: December 10, 2013, 10:00:13 PM »
Toggle has no OnSelected (GameObject, bool). In fact there is no OnSelected function anywhere in NGUI. You'll need to clarify.