fix 5899 【鸿蒙】硬件返回键在鸿蒙包内无法生效

main
SunChengyong 2026-05-28 13:39:21 +08:00
parent 0a2398bac8
commit 52df52ed15
2 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ public class InputManager : SingletonMono<InputManager>
/// <returns>是否按下了返回键</returns>
public bool CheckIsBackKeyDown()
{
#if UNITY_ANDROID || UNITY_EDITOR
#if UNITY_ANDROID || UNITY_EDITOR || UNITY_OPENHARMONY
if (Input.GetKeyDown(KeyCode.Escape))
{

@ -1 +1 @@
Subproject commit 8dca34abef3a7dcd159a214178b4971e0860fb75
Subproject commit a6f72cc3388f1bb03253b0117355ca0bfdf18c37