mergeInto(LibraryManager.library, {
    HideCursor: function() {
        if (typeof document !== 'undefined') {
            var canvas = document.getElementById("unity-canvas");
            if (canvas) {
                canvas.style.cursor = "none";
            }
            // Aussi pour le body au cas où
            document.body.style.cursor = "none";
        }
    },
    
    ShowCursor: function() {
        if (typeof document !== 'undefined') {
            var canvas = document.getElementById("unity-canvas");
            if (canvas) {
                canvas.style.cursor = "auto";
            }
            document.body.style.cursor = "auto";
        }
    }
});
