Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: beings on January 06, 2015, 05:02:36 AM

Title: UICamera.selectedObject isn't set null when GameObject is destroyed
Post by: beings 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.
Title: Re: UICamera.selectedObject isn't set null when GameObject is destroyed
Post by: ArenMook 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.