Welcome,
Guest
. Please
login
or
register
.
April 26, 2026, 09:57:57 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Button OnPress still registering press after scene loaded a second time?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Button OnPress still registering press after scene loaded a second time? (Read 4595 times)
leagueofmonkeys
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 20
Button OnPress still registering press after scene loaded a second time?
«
on:
September 05, 2013, 04:43:06 AM »
Hi
I have a button in a panel, the panel is disabled via script. If the user is pressing the buttons when the panel is disabled next time I load the scene and enable the same panel via script the button remains pressed. All of my gui is destroyed on scene load so I don't understand why the button press persists. I am using the latest version of NGUI and Unity.
Any help is greatly appreciated
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Button OnPress still registering press after scene loaded a second time?
«
Reply #1 on:
September 07, 2013, 12:42:26 AM »
Er... what? You go to a different scene, and when you load the original scene again a button is in a pressed state? NGUI won't do that for you.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Button OnPress still registering press after scene loaded a second time?