Loader#addSyncPoint()

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
doc_phaser
2017-02-14 10:54:14
Comments
Leave a Comment

Please login to continue.