let packageName = "slot1501-polygon";
let fs = require("fire-fs");
let path = require('fire-path');
let ActionEnum = cc.Enum({
None: "None",
Scale: "Scale",
Blink: "Blink",
Shake: "Shake",
FadeIn: "FadeIn",
FadeOut: "FadeOut",
Move: "Move",
});
Vue.component('dialog-inspector', {
template: `
Preview
`,
props: {
target: {
twoWay: true,
type: Object,
}
},
methods: {
onBtnClickPreview() {
let time = new Date().getTime();
Editor.Ipc.sendToPanel('scene', 'scene:set-property', {
id: this.target.uuid.value,
path: "preview",
type: "String",
value: time,
});
},
}
});