mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[unity] Fixed skeleton import and Inspector behaviour of TK2D integration on 4.1. See #2113.
This commit is contained in:
parent
ef11ae9653
commit
b79316de81
@ -193,7 +193,7 @@ namespace Spine.Unity.Editor {
|
||||
}
|
||||
|
||||
if (changeCheck.changed) {
|
||||
if (requiresReload || serializedObject.ApplyModifiedProperties()) {
|
||||
if (serializedObject.ApplyModifiedProperties() || requiresReload) {
|
||||
this.Clear();
|
||||
this.InitializeEditor();
|
||||
|
||||
|
||||
@ -105,7 +105,7 @@ namespace Spine.Unity.TK2D {
|
||||
page.rendererObject = material;
|
||||
region.page = page;
|
||||
region.u = u;
|
||||
region.u = v;
|
||||
region.v = v;
|
||||
region.u2 = u2;
|
||||
region.v2 = v2;
|
||||
region.rotate = regionRotated;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user