UnityPlatformer.DefaultInput.IsLeftDown C# (CSharp) Method

IsLeftDown() public method

public IsLeftDown ( ) : bool
return bool
    public override bool IsLeftDown() {
      #if UP_USE_CN_INPUT_MANAGER
      if (SystemInfo.deviceType == DeviceType.Handheld) {
        return CnInputManager.GetAxis("Horizontal") > 0;
      }
      #endif

      #if UP_USE_WII_INPUT_MANAGER
      if (remote != null) {
        //return remote.Button.d_left;
        return remote.Button.d_up;
      }
      #endif

      return Input.GetAxisRaw("Horizontal") > 0;
    }