Browse Source

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

Harald Csaszar 6 năm trước cách đây
mục cha
commit
e769b848da

+ 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);
 				}
 			}
 		}