Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
PS_001
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
PS_001
Commits
25efb16e
Commit
25efb16e
authored
Jan 14, 2022
by
huoshizhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
parent
6481b317
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
23 deletions
+9
-23
PS_001.meta
assets/PS_001.meta
+1
-15
PS_001_Ctrl.ts
assets/PS_001/ani/script/PS_001_Ctrl.ts
+7
-7
PS_001_scene1.ts
assets/PS_001/ani/script/PS_001_scene1.ts
+1
-1
No files found.
assets/PS_001.meta
View file @
25efb16e
{
{"ver":"1.1.2","uuid":"c35bb2f6-f24a-4850-ae44-643f2fdc7541","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
"ver": "1.1.2",
\ No newline at end of file
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/PS_001/ani/script/PS_001_Ctrl.ts
View file @
25efb16e
...
@@ -41,7 +41,7 @@ export default class PS_001_Ctrl extends cc.Component {
...
@@ -41,7 +41,7 @@ export default class PS_001_Ctrl extends cc.Component {
PS_001_handManager
.
getIns
().
init
(
this
.
head
)
PS_001_handManager
.
getIns
().
init
(
this
.
head
)
PS_001_Ctrl
.
ins
=
this
PS_001_Ctrl
.
ins
=
this
window
[
'
PS_001_handManager
'
]
=
this
window
[
'
PS_001_handManager
'
]
=
this
this
.
toNext
(
0
)
//
this.toNext(0)
}
}
toNext
(
arg0
:
number
)
{
toNext
(
arg0
:
number
)
{
...
@@ -49,12 +49,12 @@ export default class PS_001_Ctrl extends cc.Component {
...
@@ -49,12 +49,12 @@ export default class PS_001_Ctrl extends cc.Component {
arg0
=
0
arg0
=
0
this
.
time
++
this
.
time
++
}
}
if
(
this
.
time
==
2
)
{
//
if (this.time == 2) {
this
.
ShowNode
=
cc
.
instantiate
(
this
.
allScene
[
arg0
])
//
this.ShowNode = cc.instantiate(this.allScene[arg0])
this
.
node
.
addChild
(
this
.
ShowNode
)
//
this.node.addChild(this.ShowNode)
this
.
ShowNode
.
getComponent
(
'
PS_001_scene
'
+
(
arg0
+
1
)).
init
(
this
.
carema
,
this
)
//
this.ShowNode.getComponent('PS_001_scene' + (arg0 + 1)).init(this.carema, this)
return
;
//
return;
}
//
}
this
.
ShowNode
=
cc
.
instantiate
(
this
.
allScene
[
arg0
])
this
.
ShowNode
=
cc
.
instantiate
(
this
.
allScene
[
arg0
])
this
.
node
.
addChild
(
this
.
ShowNode
)
this
.
node
.
addChild
(
this
.
ShowNode
)
this
.
ShowNode
.
getComponent
(
'
PS_001_scene
'
+
(
arg0
+
1
)).
init
(
this
.
carema
,
this
)
this
.
ShowNode
.
getComponent
(
'
PS_001_scene
'
+
(
arg0
+
1
)).
init
(
this
.
carema
,
this
)
...
...
assets/PS_001/ani/script/PS_001_scene1.ts
View file @
25efb16e
...
@@ -251,7 +251,7 @@ export default class PS_001_scene1 extends cc.Component {
...
@@ -251,7 +251,7 @@ export default class PS_001_scene1 extends cc.Component {
this
.
rightrabbit
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
question
'
,
0
)
this
.
rightrabbit
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
question
'
,
0
)
this
.
tweenary
.
push
(
cc
.
tween
(
this
.
camera
).
delay
(
2
).
call
(()
=>
{
this
.
tweenary
.
push
(
cc
.
tween
(
this
.
camera
).
delay
(
2
).
call
(()
=>
{
console
.
log
(
'
进入
'
)
console
.
log
(
'
进入
'
)
this
.
parent
.
toNext
(
1
)
this
.
parent
.
toNext
(
7
)
this
.
node
.
destroy
()
this
.
node
.
destroy
()
}).
start
())
}).
start
())
...
...
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