瀏覽代碼

[unity] Fixed SkeletonGraphic displaying setup pose instead of first frame on freeze. Closes #1511.

Harald Csaszar 6 年之前
父節點
當前提交
e769b848da
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs

+ 2 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonGraphic.cs

@@ -288,6 +288,8 @@ namespace Spine.Unity {
 					if (!Application.isPlaying)
 						Update(0f);
 					#endif
+					if (freeze)
+						Update(0f);
 				}
 			}
 		}