Browse Source

[unity] Minor doc.

pharan 8 năm trước cách đây
mục cha
commit
145d1b6aef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      spine-unity/Assets/spine-unity/SkeletonRenderer.cs

+ 1 - 1
spine-unity/Assets/spine-unity/SkeletonRenderer.cs

@@ -213,7 +213,7 @@ namespace Spine.Unity {
 			for (int i = 0; i < separatorSlotNames.Length; i++)
 				separatorSlots.Add(skeleton.FindSlot(separatorSlotNames[i]));
 
-			LateUpdate();
+			LateUpdate(); // Generate mesh for the first frame it exists.
 
 			if (OnRebuild != null)
 				OnRebuild(this);