From c3feed05353f28cbd670955b717a398070a9305d Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Thu, 12 Sep 2024 16:28:04 +0200 Subject: [PATCH] [unity] Minor: whitespace fixes of previous commit 7a999ea. See #2632. --- .../Mesh Generation/MeshGenerator.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spine-unity/Assets/Spine/Runtime/spine-unity/Mesh Generation/MeshGenerator.cs b/spine-unity/Assets/Spine/Runtime/spine-unity/Mesh Generation/MeshGenerator.cs index 0f79e91d3..269a777c0 100644 --- a/spine-unity/Assets/Spine/Runtime/spine-unity/Mesh Generation/MeshGenerator.cs +++ b/spine-unity/Assets/Spine/Runtime/spine-unity/Mesh Generation/MeshGenerator.cs @@ -538,9 +538,9 @@ namespace Spine.Unity { wsii[i].material = overrideMaterial; } } -#endregion + #endregion -#region Step 2 : Populate vertex data and triangle index buffers. + #region Step 2 : Populate vertex data and triangle index buffers. public void Begin () { vertexBuffer.Clear(false); colorBuffer.Clear(false); @@ -1218,9 +1218,9 @@ namespace Spine.Unity { } } } -#endregion + #endregion -#region Step 3 : Transfer vertex and triangle data to UnityEngine.Mesh + #region Step 3 : Transfer vertex and triangle data to UnityEngine.Mesh public void FillVertexData (Mesh mesh) { Vector3[] vbi = vertexBuffer.Items; Vector2[] ubi = uvBuffer.Items; @@ -1300,7 +1300,7 @@ namespace Spine.Unity { mesh.SetTriangles(submeshesItems[i].Items, i, false); #endif } -#endregion + #endregion public void EnsureVertexCapacity (int minimumVertexCount, bool inlcudeTintBlack = false, bool includeTangents = false, bool includeNormals = false) { if (minimumVertexCount > vertexBuffer.Items.Length) { @@ -1348,7 +1348,7 @@ namespace Spine.Unity { if (tangents != null) Array.Resize(ref tangents, vbiLength); } -#region TangentSolver2D + #region TangentSolver2D // Thanks to contributions from forum user ToddRivers /// Step 1 of solving tangents. Ensure you have buffers of the correct size. @@ -1435,9 +1435,9 @@ namespace Spine.Unity { tangents[i] = tangent; } } -#endregion + #endregion -#region AttachmentRendering + #region AttachmentRendering static List AttachmentVerts = new List(); static List AttachmentUVs = new List(); static List AttachmentColors32 = new List(); @@ -1549,6 +1549,6 @@ namespace Spine.Unity { AttachmentColors32.Clear(); AttachmentIndices.Clear(); } -#endregion + #endregion } }