diff options
author | chai <chaifix@163.com> | 2020-10-14 08:41:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-14 08:41:43 +0800 |
commit | 104ca96a6581bddf48b769abdcb84842459260c3 (patch) | |
tree | b9bac37a0fb99a6eacb3d10f5559deed27380c6e /Assets/Scripts/Test/RootConstainTest.cs | |
parent | 41a924d317b4b0b9c5e53d4c4ca53cb55ea80fd2 (diff) |
*动画设置
Diffstat (limited to 'Assets/Scripts/Test/RootConstainTest.cs')
-rw-r--r-- | Assets/Scripts/Test/RootConstainTest.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Assets/Scripts/Test/RootConstainTest.cs b/Assets/Scripts/Test/RootConstainTest.cs index 91d37062..7936fd25 100644 --- a/Assets/Scripts/Test/RootConstainTest.cs +++ b/Assets/Scripts/Test/RootConstainTest.cs @@ -26,8 +26,6 @@ public class RootConstainTest : MonoBehaviour Vector3 position = transform.position;
position.x += animator.deltaPosition.x;
position.y += animator.deltaPosition.y;
- //position.y = Mathf.Max(0, position.y);
- //position.y = 0;
transform.position = position;
|