MCPcopy Create free account
hub / github.com/esengine/esengine / loadContent

Method loadContent

packages/fairygui/src/widgets/GLoader.ts:332–342  ·  view source on GitHub ↗

* Load content based on URL * 根据 URL 加载内容

()

Source from the content-addressed store, hash-verified

330 * 根据 URL 加载内容
331 */
332 protected loadContent(): void {
333 this.clearContent();
334
335 if (!this._url) return;
336
337 if (this._url.startsWith('ui://')) {
338 this.loadFromPackage(this._url);
339 } else {
340 this.loadExternal();
341 }
342 }
343
344 /**
345 * Load content from package

Callers 2

urlMethod · 0.95
setup_beforeAddMethod · 0.95

Calls 3

clearContentMethod · 0.95
loadFromPackageMethod · 0.95
loadExternalMethod · 0.95

Tested by

no test coverage detected