Welcome,
Guest
. Please
login
or
register
.
April 28, 2026, 10:55:27 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UICamera.selectedObject isn't set null when GameObject is destroyed
« previous
next »
Print
Pages: [
1
]
Author
Topic: UICamera.selectedObject isn't set null when GameObject is destroyed (Read 3361 times)
beings
Newbie
Thank You
-Given: 0
-Receive: 1
Posts: 5
UICamera.selectedObject isn't set null when GameObject is destroyed
«
on:
January 06, 2015, 05:02:36 AM »
UICamera.selectedObject isn't set null when GameObject is destroyed, thus the call to UIKeyNavigation.startsSelected in a new UI fails.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UICamera.selectedObject isn't set null when GameObject is destroyed
«
Reply #1 on:
January 06, 2015, 11:03:46 AM »
Assuming you are the one who destroys it, you should also probably be the one to clear the selection.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UICamera.selectedObject isn't set null when GameObject is destroyed