INNER CODE UNIT · JavaScript
n
hyperfy-xyz/hyperfy · src/core/entities/App.js:61
const n = ++this.n
// fetch blueprint
const blueprint = this.world.blueprints.get(this.data.blueprint)
if (blueprint.disabled) {
this.unbuild()
this.blueprint = blueprint
this.building = false
return
}
let root
let script
// if someone else is uploading glb, show a loading indicator
if (this.data.uploader && this.data.uploader !== this.world.network.id) {
root = createNode('mesh')
root.type = 'box'
root.width = 1