ソースを参照

[unity] Minor code cleanup.

Harald Csaszar 1 年間 前
コミット
ebdc26ce9f

+ 1 - 1
spine-unity/Assets/Spine/Runtime/spine-unity/Components/RootMotion/SkeletonRootMotionBase.cs

@@ -605,7 +605,7 @@ namespace Spine.Unity {
 				// apply the constraint and sets Bone.ax, Bone.ay and Bone.arotation values.
 				/// Update is based on Bone.x, Bone.y and Bone.rotation, so skeleton.UpdateWorldTransform()
 				/// can be called afterwards without having a different starting point.
-				constraint.Update(Skeleton.Physics.Update);
+				constraint.Update(Skeleton.Physics.None);
 			}
 		}