mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update UIWidget.cs
This commit is contained in:
@@ -211,6 +211,7 @@ namespace TEngine
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public void OnDestroyWidget()
|
public void OnDestroyWidget()
|
||||||
{
|
{
|
||||||
|
RemoveAllUIEvent();
|
||||||
if (Handle != null)
|
if (Handle != null)
|
||||||
{
|
{
|
||||||
if (AssetReference != null && AssetReference.Parent != null)
|
if (AssetReference != null && AssetReference.Parent != null)
|
||||||
|
Reference in New Issue
Block a user