@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
12 lines • 326 B
JavaScript
const WarnedMap = {};
/**
* @internal
*/
export function _WarnImport(name, warnOnce = false) {
if (warnOnce && WarnedMap[name]) {
return;
}
WarnedMap[name] = true;
return `${name} needs to be imported before as it contains a side-effect required by your code.`;
}
//# sourceMappingURL=devTools.js.map