Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_debug
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
middleLayer_for_debug
Commits
ed58697b
Commit
ed58697b
authored
May 23, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
parent
4ee3cdc9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
486 additions
and
436 deletions
+486
-436
middleLayer_for_debug.fire
...ts/middleLayer_for_debug/scene/middleLayer_for_debug.fire
+447
-434
middleLayer_for_debug.js
assets/middleLayer_for_debug/scene/middleLayer_for_debug.js
+37
-0
middleLayer_for_debug.js.meta
...middleLayer_for_debug/scene/middleLayer_for_debug.js.meta
+1
-1
middleLayer.ts
assets/middleLayer_for_debug/script/middleLayer.ts
+1
-1
No files found.
assets/middleLayer_for_debug/scene/middleLayer_for_debug.fire
View file @
ed58697b
This diff is collapsed.
Click to expand it.
assets/middleLayer_for_debug/scene/middleLayer_for_debug.js
View file @
ed58697b
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc
.
Class
({
extends
:
cc
.
Component
,
properties
:
{
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
start
()
{
},
// update (dt) {},
});
assets/middleLayer_for_debug/scene/middleLayer_for_debug.js.meta
View file @
ed58697b
{
"ver": "1.0.8",
"uuid": "
3d918921-8913-44bb-90de-1640540392f5
",
"uuid": "
551771f1-7b43-4157-bb84-cdbb730dcddd
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/middleLayer_for_debug/script/middleLayer.ts
View file @
ed58697b
...
...
@@ -506,7 +506,7 @@ export default class NewClass extends middleLayerBase {
});
cc
.
find
(
'
middleLayer/ui/BtnOpenRecord
'
).
on
(
'
click
'
,
()
=>
{
(
<
any
>
window
).
courseware
.
startRecord
(
1
);
(
<
any
>
window
).
courseware
.
startRecord
(
0
);
});
cc
.
find
(
'
middleLayer/ui/BtnCloseRecord
'
).
on
(
'
click
'
,
()
=>
{
...
...
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