@unace wrote:
Hello Cocos team,
I have two questions related this documentation (https://docs.cocos2d-x.org/creator/manual/en/getting-started/faq.html#how-to-control-prefab-with-plugins).
How can I know
enter-prefab-edit-mode
is done? I tried to use callback function, but the callback doesn’t seem to be called.
Editor.Ipc.sendToPanel(‘scene’, ‘scene:enter-prefab-edit-mode’, ‘70d3a81e-af79-4f28-93b6-59ba6f2bef80’, () => { Editor.error(‘done’) });Is there an IPC message for
exit-prefab-edit-mode
or something similar?Thanks
Posts: 1
Participants: 1