Editor.Ipc 保存scene问题

有哪位大神做过Editor.Ipc.sendToPanel(‘scene’, ‘scene:new-scene’);新建场景后,保存场景不用弹出保存对话框,直接用参数传入保存的路径进行保存。因为用Editor.Ipc.sendToPanel(‘scene’, ‘scene:stash-and-save’);这个会弹出对话框,且没有参数。