Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
testzg001
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
testzg001
Commits
6f774d40
Commit
6f774d40
authored
Oct 31, 2025
by
sunboylu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat name fix
parent
edb53a06
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
3 deletions
+17
-3
testzg001.meta
assets/testzg001.meta
+15
-1
gamecard.ts
assets/testzg001/pages/gamecenter/gamecard.ts
+0
-0
gamecard.ts.meta
assets/testzg001/pages/gamecenter/gamecard.ts.meta
+0
-0
gamecenter.ts
assets/testzg001/pages/gamecenter/gamecenter.ts
+1
-1
package.json
package.json
+1
-1
No files found.
assets/testzg001.meta
View file @
6f774d40
{"ver":"1.1.2","uuid":"1686a536-c3b6-4b5a-80f1-7463f4cae6a5","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
{
\ No newline at end of file
"ver": "1.1.2",
"uuid": "1686a536-c3b6-4b5a-80f1-7463f4cae6a5",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/testzg001/pages/gamecenter/game
-
card.ts
→
assets/testzg001/pages/gamecenter/gamecard.ts
View file @
6f774d40
File moved
assets/testzg001/pages/gamecenter/game
-
card.ts.meta
→
assets/testzg001/pages/gamecenter/gamecard.ts.meta
View file @
6f774d40
File moved
assets/testzg001/pages/gamecenter/gamecenter.ts
View file @
6f774d40
...
@@ -446,7 +446,7 @@ export default class GameCenter extends cc.Component {
...
@@ -446,7 +446,7 @@ export default class GameCenter extends cc.Component {
// console.log('预制体卡片创建成功:', cardNode);
// console.log('预制体卡片创建成功:', cardNode);
// 初始化卡片数据
// 初始化卡片数据
const
gameCardComp
=
cardNode
.
getComponent
(
'
game
-
card
'
);
const
gameCardComp
=
cardNode
.
getComponent
(
'
gamecard
'
);
// console.log('GameCard组件:', gameCardComp);
// console.log('GameCard组件:', gameCardComp);
if
(
gameCardComp
&&
typeof
gameCardComp
.
init
===
'
function
'
)
{
if
(
gameCardComp
&&
typeof
gameCardComp
.
init
===
'
function
'
)
{
...
...
package.json
View file @
6f774d40
{
{
"name"
:
"publish"
,
"name"
:
"publish"
,
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"description"
:
""
,
"description"
:
"
testzg
"
,
"main"
:
"build.js"
,
"main"
:
"build.js"
,
"scripts"
:
{
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
...
...
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