This solves the problem when you want to load dragonbones assets in different scene than to use them in. Phaser 3 has Cache store exactly for this purpose, this uses it.
It has one problem, when you use the asset first time, it is not found in the factory instance and warning is printed into console, than if the resource is in cache, it is loaded. There is no simple way to suppress this warning, only to check if the asset is in factory before trying to load it which will result in searching for it twice.
This solves the problem when you want to load dragonbones assets in different scene than to use them in. Phaser 3 has Cache store exactly for this purpose, this uses it.
It has one problem, when you use the asset first time, it is not found in the factory instance and warning is printed into console, than if the resource is in cache, it is loaded. There is no simple way to suppress this warning, only to check if the asset is in factory before trying to load it which will result in searching for it twice.