mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 16:52:43 +08:00
@@ -282,7 +282,7 @@ var spineAssembler = js.addon({
|
||||
skeleton.update(dt);
|
||||
|
||||
if (state) {
|
||||
dt *= comp._timeScale;
|
||||
dt *= comp.timeScale;
|
||||
state.update(dt);
|
||||
state.apply(skeleton);
|
||||
}
|
||||
|
||||
@@ -329,7 +329,6 @@ sp.Skeleton = cc.Class({
|
||||
ctor () {
|
||||
this._skeleton = null;
|
||||
this._rootBone = null;
|
||||
this._timeScale = 1.0;
|
||||
this._listener = null;
|
||||
this._boundingBox = cc.rect();
|
||||
this._material = new SpriteMaterial();
|
||||
|
||||
Reference in New Issue
Block a user