Signed-off-by: szrpf <27185709@qq.com>

This commit is contained in:
szrpf 2023-05-14 20:19:25 +08:00
parent 064011ae31
commit f7758b7952

View File

@ -98,6 +98,7 @@ export default class ActionShadow extends cc.Component {
this.nodeOpacity = this.node.opacity;
this.model = this.node.getComponent(cc.Animation);
this.model && (this.model.currentClip = this.model.defaultClip);
this.node['_updateWorldMatrix']();
this.updateShadowNum();
this.updateDeltTime();
this.updateShadowData();