UNPKG

@babylonjs/gui

Version:

Babylon.js GUI module =====================

17 lines 631 B
/* eslint-disable import/no-internal-modules */ import * as GUI from "../index.js"; /** * Legacy support, defining window.BABYLON.GUI (global variable). * * This is the entry point for the UMD module. * The entry point for a future ESM package should be index.ts */ const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined; if (typeof globalObject !== "undefined") { globalObject.BABYLON = globalObject.BABYLON || {}; if (!globalObject.BABYLON.GUI) { globalObject.BABYLON.GUI = GUI; } } export * from "../index.js"; //# sourceMappingURL=legacy.js.map