mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[unity] Fixed a compile error occurring only on Unity 2017, Vector2 not supporting operator* (introduced by commit 758a83a). See #1876.
This commit is contained in:
parent
758a83ac96
commit
7782b01cdf
@ -198,7 +198,7 @@ namespace Spine.Unity {
|
||||
parentBoneScale.x *= scaleBone.ScaleX;
|
||||
parentBoneScale.y *= scaleBone.ScaleY;
|
||||
}
|
||||
localDelta *= parentBoneScale;
|
||||
localDelta = Vector2.Scale(localDelta, parentBoneScale);
|
||||
|
||||
localDelta *= AdditionalScale;
|
||||
localDelta.x *= rootMotionScaleX;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user