Update HotkeyComponent.cs
This commit is contained in:
parent
bc554a5062
commit
e7b0f64c05
@ -28,7 +28,10 @@ namespace UnityEngine.UI
|
|||||||
|
|
||||||
void IHotkeyTrigger.HotkeyActionTrigger()
|
void IHotkeyTrigger.HotkeyActionTrigger()
|
||||||
{
|
{
|
||||||
|
if (_component is ISubmitHandler submitHandler)
|
||||||
|
{
|
||||||
|
submitHandler.OnSubmit(null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user