Commit 45090d89 authored by 杨一航's avatar 杨一航

fix

parent 47df5245
...@@ -99,11 +99,15 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -99,11 +99,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (!this._guessWords) { if (!this._guessWords) {
return; return;
} }
this._sendMsg(MsgType.USER_REQ_WOED, { word: this._guessWords, uuid: this.playerId })
} }
_inputWords(word) { _inputWords(word) {
this._guessWords = word; this._guessWords = word;
if (!this._guessWords) {
return;
}
this.inputNode.getChildByName("lb").getComponent(cc.Label).string = word; this.inputNode.getChildByName("lb").getComponent(cc.Label).string = word;
this._sendMsg(MsgType.USER_REQ_WOED, { word: this._guessWords, uuid: this.playerId })
} }
addPreloadImage() { addPreloadImage() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment