feat: 添加热键自定义修改支持

This commit is contained in:
m0_75251201
2025-11-01 17:03:58 +08:00
parent 4f144bef9a
commit 5cec8711dd
36 changed files with 102 additions and 43 deletions

View File

@@ -152,7 +152,7 @@ namespace HideCharacter
private void Update()
{
if (Input.GetKeyDown(KeyCode.F5))
if (Input.GetKeyDown(hideList?.hotkey ?? KeyCode.F5))
{
hide = !hide;
SetCharacterHide(hide);