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