我想添加ts 脚本, 如下:
Editor.Message.request('scene', 'create-component', uuid, ScriptName );
但是无效…
报错: create component failed: undefined does not exist
我想添加ts 脚本, 如下:
Editor.Message.request('scene', 'create-component', uuid, ScriptName );
但是无效…
报错: create component failed: undefined does not exist
Editor.Message.request('scene', 'execute-component-method', self.$.point.value, 'Test', 'ccc');
执行组件方法也不行…
Editor.Message.request('scene', 'create-component', {
uuid: testNodeUuid,
component: 'cc.Animation',
});
该主题在最后一个回复创建后7天后自动关闭。不再允许新的回复。