快捷键操作

This commit is contained in:
bob
2025-06-04 12:55:36 +08:00
parent 30836558ae
commit 55f49e1af7
8 changed files with 90 additions and 32 deletions

View File

@@ -202,5 +202,11 @@ namespace NBF
Debug.LogError($"OnInteractiveObject {interactiveObject != null}");
OnInteractiveObjectAction?.Invoke(interactiveObject);
}
public void SendUIInput(string actionName)
{
OnUIPerformed?.Invoke(actionName);
OnUICanceled?.Invoke(actionName);
}
}
}