Update UIWidget.cs

This commit is contained in:
ALEXTANG
2023-07-25 23:37:02 +08:00
parent 74790c7486
commit 863788f303

View File

@@ -240,7 +240,7 @@ namespace TEngine
/// 组件被销毁调用。
/// <remarks>请勿手动调用!</remarks>
/// </summary>
public void OnDestroyWidget()
internal void OnDestroyWidget()
{
RemoveAllUIEvent();
if (Handle != null)