mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-15 00:37:09 +00:00
read G and H button events
This commit is contained in:
parent
ecc17aef6d
commit
c4d9fcc924
1 changed files with 6 additions and 0 deletions
|
@ -199,6 +199,12 @@ namespace SanAndreasUnity.Behaviours
|
|||
if (customInput.GetKeyDown(KeyCode.C))
|
||||
m_ped.OnCrouchButtonPressed ();
|
||||
|
||||
if (customInput.GetKeyDown(KeyCode.G))
|
||||
m_ped.OnButtonPressed ("G");
|
||||
|
||||
if (customInput.GetKeyDown(KeyCode.H))
|
||||
m_ped.OnButtonPressed ("H");
|
||||
|
||||
if (customInput.GetKeyDown (KeyCode.T))
|
||||
m_ped.OnFlyButtonPressed();
|
||||
|
||||
|
|
Loading…
Reference in a new issue