소스 검색

[unity] Minor code cleanup.

Harald Csaszar 1 년 전
부모
커밋
ebdc26ce9f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      spine-unity/Assets/Spine/Runtime/spine-unity/Components/RootMotion/SkeletonRootMotionBase.cs

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