mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[unity] Fixed SkeletonGraphic.MatchRectTransformWithBounds setting referenceSize. Closes #2408.
This commit is contained in:
parent
fa4310b4d3
commit
3172475cd6
@ -604,6 +604,8 @@ namespace Spine.Unity {
|
||||
SetRectTransformSize(submeshGraphic, size);
|
||||
submeshGraphic.rectTransform.pivot = p;
|
||||
}
|
||||
|
||||
this.referenceSize = size;
|
||||
}
|
||||
|
||||
public static void SetRectTransformSize (Graphic target, Vector2 size) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user