destructor() {
    // Unregister all event listeners from the world
    if (this.parent) {
      this.notifyWorld('removeAllEventListeners')
    }

    // Teardown refs
    if (typeof this.ref === 'function') {
      this.ref.call(null, null)
    }
    this.parent = this._notifiableParent = null
  }
Called when the instance is being removed from the scene. Override this to implement any
custom cleanup logic.