var UIHelper = require("UIHelper"); cc.Class({ extends: cc.Component, properties: { }, // LIFE-CYCLE CALLBACKS: onLoad: function() { this.initView(); }, initView: function() { }, initButtonHandler: function(btn) { UIHelper.addButtonListener(btn, this.node, "TrucoSetting", "onBtnClicked"); }, onBtnClicked: function(event) { }, });