如题:ccc1.6.1b2 使用typescript开发
请问,在编辑器属性面板想添加一个回调类型的方法参数,(类似button的ClickEvent参数)该如何添加呢?
@property({
default: null,
type: cc.Component.EventHandler,
tooltip: '内购后的回调函数'
})
purchaseCallback: cc.Component.EventHandler = null;
多谢多谢