Ejemplo n.º 1
0
 /// <summary>
 /// Equivalent to Input's GetButtonUp/GetKeyUp function.
 /// </summary>
 /// <param name="buttonHash">The hash of the action you want to get.</param>
 protected bool GetButtonUp(int buttonHash)
 {
     return(PlayerInput.GetButtonUp(buttonHash));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Equivalent to Input's GetButtonUp/GetKeyUp function.
 /// </summary>
 /// <param name="buttonName">The button name you want to get.</param>
 protected bool GetButtonUp(string buttonName)
 {
     return(PlayerInput.GetButtonUp(buttonName));
 }