Commit d7d96dec authored by limingzhe's avatar limingzhe

fix: debug

parent 588255ab
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// Learn life-cycle callbacks: // Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html // - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const defaultData = require('../script/Z_05_test_defaultData'); const defaultData = require('../script/Z_05_nxuan1_defaultData');
import { import {
asyncTweenTo, asyncTweenTo,
asyncTweenBy, asyncTweenBy,
...@@ -14,7 +14,7 @@ import { ...@@ -14,7 +14,7 @@ import {
asyncPlayEffectByUrl, asyncPlayEffectByUrl,
RandomInt, RandomInt,
jelly jelly
} from '../script/Z_05_test_utils'; } from '../script/Z_05_nxuan1_utils';
cc.Class({ cc.Class({
extends: cc.Component, extends: cc.Component,
...@@ -1111,7 +1111,7 @@ cc.Class({ ...@@ -1111,7 +1111,7 @@ cc.Class({
}, },
async playEffect(name, loop, volume) { async playEffect(name, loop, volume) {
let musicComponent = cc.find('Canvas/MusicNode').getComponent('Z_05_test_MusicNode'); let musicComponent = cc.find('Canvas/MusicNode').getComponent('Z_05_nxuan1_MusicNode');
await musicComponent.playEffect(name, loop, volume); await musicComponent.playEffect(name, loop, volume);
} }
}); });
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