mirror of
https://github.com/szrpf/ActionShadowDemo.git
synced 2025-04-11 01:21:09 +00:00
Signed-off-by: szrpf <27185709@qq.com>
This commit is contained in:
parent
064011ae31
commit
f7758b7952
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user