Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qian488 committed Jan 4, 2025
1 parent 77d9176 commit d93bf26
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
Empty file.
7 changes: 7 additions & 0 deletions Assets/Resources/Music/SFX/音效.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
7 changes: 7 additions & 0 deletions Assets/Resources/Music/Voice/角色声音.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Assets/Scripts/ProjectBase/Input/InputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ private void CheckKeyCode(KeyCode key)
{
if (Input.GetKeyDown(key))
{
EventCenter.GetInstance().EventTrigger("KeyDown",key);
EventCenter.GetInstance().EventTrigger("KeyDown", key);
}
if (Input.GetKeyUp(key))
{
EventCenter.GetInstance().EventTrigger("KeyUp",key);
EventCenter.GetInstance().EventTrigger("KeyUp", key);
}
}

Expand All @@ -43,4 +43,4 @@ private void MyUpdate()
CheckKeyCode(KeyCode.V);
CheckKeyCode(KeyCode.M);
}
}
}

0 comments on commit d93bf26

Please sign in to comment.