Commit ed58697b authored by 范雪寒's avatar 范雪寒

feat:

parent 4ee3cdc9
// 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) {},
});
{
"ver": "1.0.8",
"uuid": "3d918921-8913-44bb-90de-1640540392f5",
"uuid": "551771f1-7b43-4157-bb84-cdbb730dcddd",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
......@@ -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', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment