Pārlūkot izejas kodu

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

Harald Csaszar 6 gadi atpakaļ
vecāks
revīzija
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);
 				}
 			}
 		}