mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Update UIWindow.cs
This commit is contained in:
@@ -354,10 +354,11 @@ namespace TEngine
|
||||
Handle = null;
|
||||
}
|
||||
|
||||
OnDestroy();
|
||||
|
||||
// 销毁面板对象
|
||||
if (_panel != null)
|
||||
{
|
||||
OnDestroy();
|
||||
Object.Destroy(_panel);
|
||||
_panel = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user