protected override bool GetDeactivatedImpl(byte device, byte control, AirVRInputDirection direction)
    {
        if (owner.isBoundToClient == false)
        {
            return(false);
        }

        return(ocs_GetInputDirectionDeactivated(owner.playerID, device, control, (byte)direction));
    }
    protected override bool IsActiveImpl(byte device, byte control, AirVRInputDirection direction)
    {
        if (owner.isBoundToClient == false)
        {
            return(false);
        }

        return(ocs_IsInputDirectionActive(owner.playerID, device, control, (byte)direction));
    }
Example #3
0
 protected abstract bool GetDeactivatedImpl(byte device, byte control, AirVRInputDirection direction);
Example #4
0
 protected abstract bool IsActiveImpl(byte device, byte control, AirVRInputDirection direction);
Example #5
0
 public bool GetDeactivated(byte device, byte control, AirVRInputDirection direction)
 {
     return(GetDeactivatedImpl(device, control, direction));
 }
Example #6
0
 public bool IsActive(byte device, byte control, AirVRInputDirection direction)
 {
     return(IsActiveImpl(device, control, direction));
 }