Adding a button

Hello,

I am trying to mimic a “property action button” with event, like the image below:

Property%20Button

How do I managed that in TypeScript?

My cocos creator version: 2.0.5

Refence this demo:CustomPropertyPanel.zip (542.6 KB)

the current way to realize this feature is use Extension ,you need to study some extension knowedge.
and use editor properties in the class

    editor: CC_EDITOR && {
        inspector: "packages://property-enum/inspector/dialog/dialog.js",
        playOnFocus: true,
        executeInEditMode: true,
    },

You are awesome!

Any chance you can show me how it is done in typescript?