read G and H button events

This commit is contained in:
in0finite 2020-02-11 17:44:02 +01:00
parent ecc17aef6d
commit c4d9fcc924

View file

@ -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();