mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Not relying only on first material anymore
This commit is contained in:
parent
0a4eadaaa5
commit
d6d0a4b600
@ -125,7 +125,6 @@ public class tk2dSpineSkeleton : MonoBehaviour, tk2dRuntime.ISpriteCollectionFor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
renderer.sharedMaterial = skeletonDataAsset.spritesData.inst.materials[0];
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
UpdateEditorGizmo();
|
UpdateEditorGizmo();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user