This commit is contained in:
@@ -26,7 +26,6 @@ export default {
|
||||
}
|
||||
this.resize();
|
||||
|
||||
engine.tm?.setGame(this.object?.id);
|
||||
//engine.setCamera(engine.orthographicCamera)
|
||||
//engine.setCameraOrthographic();
|
||||
if (!this.scenario) {
|
||||
@@ -125,6 +124,7 @@ export default {
|
||||
* @param target Target scene definition from Game Module
|
||||
*/
|
||||
async loadEnvironment(scene, target){
|
||||
engine.tm?.setGame(this.object?.id);
|
||||
//await engine.loadPanorama(`/asset/default/43.webp`);
|
||||
let intro;
|
||||
engine.clearScene();
|
||||
|
||||
Reference in New Issue
Block a user