参考链接:https://doc.babylonjs.com/how...
function customLoadingScreen() {
console.log("customLoadingScreen creation")
}
customLoadingScreen.prototype.displayLoadingUI = function () {
console.log("customLoadingScreen loading")
loadingScreenDiv.innerHTML = "loading";
};
customLoadingScreen.prototype.hideLoadingUI = function () {
console.log("customLoadingScreen loaded")
loadingScreenDiv.style.display = "none";
};
var loadingScreen = new customLoadingScreen();
engine.loadingScreen = loadingScreen;
engine.displayLoadingUI();
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。