GameManager.prototype.initialize = function() { //instantiate template var templateAsset = this.app.assets.get(templateAssetId); var instance = templateAsset.resource.instantiate(); this.app.root.addChild(instance); };