Files
CocosCreatorTutorial/PomeloClient/assets/Script/view/chat/ChatUserItem.js
2018-08-22 10:57:12 +08:00

22 lines
245 B
JavaScript

cc.Class({
extends: cc.Component,
properties: {
labelName: cc.Label
},
onLoad() {
},
init(name) {
this.labelName.string = name;
}
// start () {
// },
// update (dt) {},
});