mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Handle Unity2017.3 patch Color32 attrib.
This commit is contained in:
parent
2345764fbf
commit
578b9e3660
@ -467,7 +467,7 @@ namespace Spine.Unity {
|
|||||||
var skeleton = instruction.skeleton;
|
var skeleton = instruction.skeleton;
|
||||||
var drawOrderItems = skeleton.drawOrder.Items;
|
var drawOrderItems = skeleton.drawOrder.Items;
|
||||||
|
|
||||||
Color32 color = default(Color32);
|
Color32 color = new Color32(); //Color32 color = default(Color32);
|
||||||
float skeletonA = skeleton.a * 255, skeletonR = skeleton.r, skeletonG = skeleton.g, skeletonB = skeleton.b;
|
float skeletonA = skeleton.a * 255, skeletonR = skeleton.r, skeletonG = skeleton.g, skeletonB = skeleton.b;
|
||||||
Vector2 meshBoundsMin = this.meshBoundsMin, meshBoundsMax = this.meshBoundsMax;
|
Vector2 meshBoundsMin = this.meshBoundsMin, meshBoundsMax = this.meshBoundsMax;
|
||||||
|
|
||||||
@ -677,7 +677,7 @@ namespace Spine.Unity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Populate Verts
|
// Populate Verts
|
||||||
Color32 color = default(Color32);
|
Color32 color = new Color32(); //Color32 color = default(Color32);
|
||||||
|
|
||||||
int vertexIndex = 0;
|
int vertexIndex = 0;
|
||||||
var tempVerts = this.tempVerts;
|
var tempVerts = this.tempVerts;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user