MCPcopy
hub / github.com/4ian/GDevelop / loadResource

Method loadResource

GDJS/Runtime/ResourceManager.ts:19–19  ·  view source on GitHub ↗

* Load the specified resource. * * This method will be run during the game. It should only do light tasks * like file downloading.

(resourceName: string)

Source from the content-addressed store, hash-verified

17 * like file downloading.
18 */
19 loadResource(resourceName: string): Promise<void>;
20
21 /**
22 * Process the specified resource.

Callers 2

_loadResourceMethod · 0.65

Implementers 10

SpineAtlasManagerExtensions/Spine/managers/pixi-spine-a
SpineManagerExtensions/Spine/managers/pixi-spine-m
InternalInGameEditorOnlySvgManagerGDJS/Runtime/ResourceLoader.ts
JsonManagerGDJS/Runtime/jsonmanager.ts
Model3DManagerGDJS/Runtime/Model3DManager.ts
FontFaceObserverFontManagerGDJS/Runtime/fontfaceobserver-font-man
HowlerSoundManagerGDJS/Runtime/howler-sound-manager/howl
PixiImageManagerGDJS/Runtime/pixi-renderers/pixi-image
PixiBitmapFontManagerGDJS/Runtime/pixi-renderers/pixi-bitma
MockedResourceManagerGDJS/tests/tests/Extensions/MockedReso

Calls

no outgoing calls

Tested by

no test coverage detected