大神 在插件代码里用 Editor.Ipc.sendToAll('scene:enter-prefab-edit-mode', prefab.uuid); 进入 prefab 编辑完 怎么保存啊😭

大神 在插件代码里用 Editor.Ipc.sendToAll(‘scene:enter-prefab-edit-mode’, prefab.uuid); 进入 prefab 编辑完 怎么保存啊:sob:

有没有人知道啊

      Editor.Ipc.sendToPanel(
        'scene',
        'scene:apply-prefab',
        node.uuid
      );

node.uuid 是你的 prefab 根节点的 uuid

谢谢 我已经找到接口;了:grin:

@jare 请问下,在 场景A中使用prefab,prefab中有点击事件。事件成功回调后,如何更新获取更新场景A的节点?