UnityPlatformer.DefaultInput.GetAxisRawY C# (CSharp) Method

GetAxisRawY() public method

public GetAxisRawY ( ) : float
return float
    public override float GetAxisRawY() {
      #if UP_USE_CN_INPUT_MANAGER
      if (SystemInfo.deviceType == DeviceType.Handheld) {
        return CnInputManager.GetAxis("Vertical") < 0;
      }
      #endif

      #if UP_USE_WII_INPUT_MANAGER
      if (remote != null) {
        return remote.Button.d_left ? -1 : (remote.Button.d_down ? 1 : 0);
      }
      #endif

      return Input.GetAxisRaw ("Vertical");
    }