[Feature Request] Exporting Prefab to be Reused in other Projects

Hi @slackmoehrle and Cocos Team,

Unity have a nice export as package/import package feature. Would like to request such feature in the Cocos Creator. Stumbled upon a use case where I’m trying to reuse certain project core UI which have been built as a prefab. Most of the prefab dependencies (attached custom components) are broken when a dumb copy is done across one project to another.

There’s a few workaround at the moment. One is to reconfigure those custom components and properties manually, another dirtier way is to copy everything together with the .meta file. I said dirty cause it might cause some uuid conflict.

4 Likes

Aha, the engine team has already developed an extension, to export the .fire and even prefab https://github.com/knoxHuang/pack-scene-asset

The discussion in Chinese forum is here https://github.com/knoxHuang/pack-scene-asset, I asked them to add this extension officially into Creator 1.5, but I’m not sure if they can do it in time.

2 Likes