mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-25 22:23:42 +08:00
[ios] Fix SkeletonDrawableWrapper.update() to call directly into the drawable.
This commit is contained in:
parent
500c30319a
commit
81c9f5630a
@ -135,11 +135,7 @@ public final class SkeletonDrawableWrapper: NSObject {
|
|||||||
public func update(delta: Float) {
|
public func update(delta: Float) {
|
||||||
if disposed { return }
|
if disposed { return }
|
||||||
|
|
||||||
animationState.update(delta)
|
skeletonDrawable.update(delta);
|
||||||
_ = animationState.apply(skeleton)
|
|
||||||
|
|
||||||
skeleton.update(delta)
|
|
||||||
skeleton.updateWorldTransform(Physics.update)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public func dispose() {
|
public func dispose() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user