Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dap-hu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Vũ Gia Vương
dap-hu
Commits
f8cdb5e3
Commit
f8cdb5e3
authored
Apr 28, 2025
by
Vũ Gia Vương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update position fragment jar
parent
8c354549
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5190 additions
and
2887 deletions
+5190
-2887
main.fire
assets/main.fire
+5155
-2887
BreakingJarController.ts
assets/scripts/GamePlay/BreakingJarController.ts
+25
-0
BreakingJarController.ts.meta
assets/scripts/GamePlay/BreakingJarController.ts.meta
+10
-0
No files found.
assets/main.fire
View file @
f8cdb5e3
This diff is collapsed.
Click to expand it.
assets/scripts/GamePlay/BreakingJarController.ts
0 → 100644
View file @
f8cdb5e3
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
@
ccclass
export
default
class
BreakingJarController
extends
cc
.
Component
{
private
_BG
:
cc
.
Node
=
null
;
private
_behindJar
:
cc
.
Node
=
null
;
private
_frontJar
:
cc
.
Node
=
null
;
private
_slotsJar
:
cc
.
Node
=
null
;
private
_behindJarChild
:
cc
.
Node
[]
=
[];
private
_frontJarChild
:
cc
.
Node
[]
=
[];
private
_slotsJarChild
:
cc
.
Node
[]
=
[];
onLoad
()
{
[
this
.
_BG
,
this
.
_behindJar
,
this
.
_frontJar
,
this
.
_slotsJar
]
=
this
.
node
.
children
;
this
.
_behindJarChild
=
this
.
_behindJar
.
children
;
this
.
_frontJarChild
=
this
.
_frontJar
.
children
;
this
.
_slotsJarChild
=
this
.
_slotsJar
.
children
;
this
.
_slotsJarChild
.
forEach
((
slot
)
=>
{
slot
.
active
=
false
;
})
}
}
assets/scripts/GamePlay/BreakingJarController.ts.meta
0 → 100644
View file @
f8cdb5e3
{
"ver": "1.1.0",
"uuid": "ae421109-40ed-4c6f-a0db-a9fdb2e10955",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
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