Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
L5R3_GuessingGame
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
L5R3_GuessingGame
Commits
45090d89
Commit
45090d89
authored
Nov 30, 2022
by
杨一航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
47df5245
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
L5R3_GuessingGame.ts
assets/L5R3_GuessingGame/scene/L5R3_GuessingGame.ts
+5
-1
No files found.
assets/L5R3_GuessingGame/scene/L5R3_GuessingGame.ts
View file @
45090d89
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment