/// <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)); }
/// <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)); }