Ejemplo n.º 1
0
    public override void _Input(InputEvent @event)
    {
        if (Main.i.gameInputActive == false)
        {
            return;
        }
        InputEventMouseMotion motion = @event as InputEventMouseMotion;

        if (motion == null)
        {
            return;
        }
        _fpsCtrl.ProcessMouseMotion(motion, ZqfGodotUtils.GetWindowToScreenRatio());
    }