/** * @format * @class UserButtonData * @deprecated 此类只能和UserButton一起使用才有效,此组件为UserButton的数据组件 */ const {ccclass, property} = cc._decorator @ccclass export default class UserButtonData extends cc.Component { @property({tooltip: '是否需要开启屏蔽连续点击行为'}) public openContinuous: boolean = true @property({type: cc.Float, tooltip: '开启屏蔽连续点击行为的间隔时间'}) public continuousTime: number = 0.2 @property({tooltip: '是否需要开启多点触摸功能'}) public multiTouch: boolean = false }