mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Fix mesh generator submesh buffer starting too large.
This commit is contained in:
parent
558a4b5e14
commit
fdb7902ca7
@ -159,6 +159,10 @@ namespace Spine.Unity {
|
|||||||
[NonSerialized] ExposedList<Vector2> uv3;
|
[NonSerialized] ExposedList<Vector2> uv3;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
public MeshGenerator () {
|
||||||
|
submeshes.TrimExcess();
|
||||||
|
}
|
||||||
|
|
||||||
public int VertexCount { get { return vertexBuffer.Count; } }
|
public int VertexCount { get { return vertexBuffer.Count; } }
|
||||||
|
|
||||||
public MeshGeneratorBuffers Buffers {
|
public MeshGeneratorBuffers Buffers {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user