Hi.
Is there a way to run code when the Main Panel Deactivates? Something like the OnConversationEnd(), but for when the Main Panel hides?
Thanks
Call event when Main Panel deactivates
Re: Call event when Main Panel deactivates
Hi,
The dialogue UI's main panel (typically named Dialogue Panel) has a UIPanel component. This component has OnClose() and OnClosed() UnityEvents.
OnClose() runs when the main panel starts to close. OnClosed() runs when the main panel has finished closing.
The dialogue UI's main panel (typically named Dialogue Panel) has a UIPanel component. This component has OnClose() and OnClosed() UnityEvents.
OnClose() runs when the main panel starts to close. OnClosed() runs when the main panel has finished closing.