mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +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;
|
||||
#endregion
|
||||
|
||||
public MeshGenerator () {
|
||||
submeshes.TrimExcess();
|
||||
}
|
||||
|
||||
public int VertexCount { get { return vertexBuffer.Count; } }
|
||||
|
||||
public MeshGeneratorBuffers Buffers {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user