Example #1
0
    protected override bool GetTouch2DImpl(byte device, byte control, ref Vector2 position, ref byte state)
    {
        if (owner.isBoundToClient == false)
        {
            return(false);
        }

        return(AXRServerPlugin.GetInputTouch2D(owner.playerID, device, control, ref position, ref state));
    }