resolves #53
This commit is contained in:
@@ -362,8 +362,8 @@ class SceneHeader{
|
|||||||
|
|
||||||
this.init = function(scene, startBtnCallback){
|
this.init = function(scene, startBtnCallback){
|
||||||
[startBtn, title.object, description.object].forEach(o=>o.visible = false);
|
[startBtn, title.object, description.object].forEach(o=>o.visible = false);
|
||||||
title.object.text = scene.data.title;
|
title.object.text = scene.data.title || '';
|
||||||
description.object.text = scene.data.description;
|
description.object.text = scene.data.description || '';
|
||||||
engine.clickable.add(startBtn, ()=>{
|
engine.clickable.add(startBtn, ()=>{
|
||||||
startBtnCallback();
|
startBtnCallback();
|
||||||
[startBtn, title.object, description.object].forEach(o=>o.visible = false);
|
[startBtn, title.object, description.object].forEach(o=>o.visible = false);
|
||||||
|
|||||||
Reference in New Issue
Block a user