addSyncPoint(type, key) → {Phaser.Loader}
Add a synchronization point to a specific file/asset in the load queue.
This has no effect on already loaded assets.
Parameters
Name | Type | Description |
---|---|---|
type | string | The type of resource to turn into a sync point (image, audio, xml, etc). |
key | string | Key of the file you want to turn into a sync point. |
Returns
This Loader instance.
- Source code: loader/Loader.js (Line 1675)
- See
-
- withSyncPoint
Please login to continue.