Example #1
0
 /// <summary>
 /// Equivalent to Input's GetAxisRaw function.
 /// </summary>
 /// <param name="axisHash">The hash of the axis you want to get.</param>
 protected float GetAxisRaw(int axisHash)
 {
     return(PlayerInput.GetAxisRaw(axisHash));
 }
Example #2
0
 /// <summary>
 /// Equivalent to Input's GetAxisRaw function.
 /// </summary>
 /// <param name="axisName">The axis name you want to get.</param>
 protected float GetAxisRaw(string axisName)
 {
     return(PlayerInput.GetAxisRaw(axisName));
 }