babylonjs loadingアニメーションを書き直します.


参照リンク: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();