TrucoSetting.js 429 B

1234567891011121314151617181920212223242526272829
  1. var UIHelper = require("UIHelper");
  2. cc.Class({
  3. extends: cc.Component,
  4. properties: {
  5. },
  6. // LIFE-CYCLE CALLBACKS:
  7. onLoad: function() {
  8. this.initView();
  9. },
  10. initView: function() {
  11. },
  12. initButtonHandler: function(btn) {
  13. UIHelper.addButtonListener(btn, this.node, "TrucoSetting", "onBtnClicked");
  14. },
  15. onBtnClicked: function(event) {
  16. },
  17. });