Commit 4f795494 authored by Tt's avatar Tt

处理视频中

parent c15a4b45
......@@ -236,7 +236,7 @@
},
"_enabled": true,
"_cullingMask": 4294967295,
"_clearFlags": 7,
"_clearFlags": 6,
"_backgroundColor": {
"__type__": "cc.Color",
"r": 0,
......@@ -1147,7 +1147,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 26
......@@ -1245,7 +1245,7 @@
"__id__": 28
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 30
......@@ -1433,7 +1433,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 32
......@@ -1544,7 +1544,7 @@
"__id__": 48
}
],
"_active": false,
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
......@@ -2600,7 +2600,7 @@
"__id__": 57
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 61
......@@ -3007,7 +3007,7 @@
"__id__": 66
}
],
"_active": false,
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
......@@ -3257,7 +3257,7 @@
"__id__": 69
}
],
"_active": false,
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
......
import macro from '../script/A_Macro_dg18_tianci'
import { asyncDelay, onHomeworkFinish } from "../script/util_dg18_tianci";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent_dg18_tianci";
import pg from "./pg_dg18_tianci";
......@@ -290,8 +291,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
setTimeout(() => {
this.videoPlayer.node.x = 0;
this.videoPlayer.node.y = 0;
this.videoPlayer.stayOnBottom = true;
}, 3000);
}, 2000);
// this.time1 = setTimeout(() => {
......
......@@ -19,7 +19,6 @@ export default class NewClass extends cc.Component {
// LIFE-CYCLE CALLBACKS:
onLoad() {
cc.macro.ENABLE_TRANSPARENT_CANVAS = true
}
start() {
......
cc.macro.ENABLE_TRANSPARENT_CANVAS = true;
export default {}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "52ac7c65-4054-4c43-8346-d4ceeb6f6151",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
cc.macro.ENABLE_TRANSPARENT_CANVAS = true;
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "a2572a3f-29aa-40d9-a9c2-0033862838e6",
"isPlugin": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -4,7 +4,6 @@ export class MyCocosSceneComponent extends cc.Component {
// 生命周期 onLoad
onLoad() {
cc.macro.ENABLE_TRANSPARENT_CANVAS = true;
this.initSceneData();
this.initSize();
}
......
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