瀏覽代碼

[unity] Minor doc.

pharan 8 年之前
父節點
當前提交
145d1b6aef
共有 1 個文件被更改,包括 1 次插入1 次删除
  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++)
 			for (int i = 0; i < separatorSlotNames.Length; i++)
 				separatorSlots.Add(skeleton.FindSlot(separatorSlotNames[i]));
 				separatorSlots.Add(skeleton.FindSlot(separatorSlotNames[i]));
 
 
-			LateUpdate();
+			LateUpdate(); // Generate mesh for the first frame it exists.
 
 
 			if (OnRebuild != null)
 			if (OnRebuild != null)
 				OnRebuild(this);
 				OnRebuild(this);