|
@@ -151,8 +151,11 @@ Component({
|
|
|
isVideo12Start: false
|
|
|
})
|
|
|
console.warn('video12 onEnd')
|
|
|
- this.animator1.pauseToFrame(this.data.animator1Name, 0);
|
|
|
- this.animator1.stop(this.data.animator1Name);
|
|
|
+ if (this.animator1) {
|
|
|
+ this.animator1.pauseToFrame(this.data.animator1Name, 0);
|
|
|
+ this.animator1.stop(this.data.animator1Name);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
const animator = el.getComponent("animator");
|
|
|
|