mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[unity] Fixed SkeletonGraphic RectTransform bounds not being applied at submeshes in match call. Closes #1983.
This commit is contained in:
parent
77575a66d1
commit
2c535b65c7
@ -477,6 +477,11 @@ namespace Spine.Unity {
|
||||
|
||||
this.rectTransform.sizeDelta = size;
|
||||
this.rectTransform.pivot = p;
|
||||
|
||||
foreach (var submeshGraphic in submeshGraphics) {
|
||||
submeshGraphic.rectTransform.sizeDelta = size;
|
||||
submeshGraphic.rectTransform.pivot = p;
|
||||
}
|
||||
}
|
||||
|
||||
public event UpdateBonesDelegate BeforeApply;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user