Update HotkeyComponent.cs

This commit is contained in:
陈思海 2026-03-19 20:16:58 +08:00
parent bc554a5062
commit e7b0f64c05

View File

@ -28,7 +28,10 @@ namespace UnityEngine.UI
void IHotkeyTrigger.HotkeyActionTrigger()
{
if (_component is ISubmitHandler submitHandler)
{
submitHandler.OnSubmit(null);
}
}
}
}