summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Test/RootConstainTest.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-10-14 08:41:43 +0800
committerchai <chaifix@163.com>2020-10-14 08:41:43 +0800
commit104ca96a6581bddf48b769abdcb84842459260c3 (patch)
treeb9bac37a0fb99a6eacb3d10f5559deed27380c6e /Assets/Scripts/Test/RootConstainTest.cs
parent41a924d317b4b0b9c5e53d4c4ca53cb55ea80fd2 (diff)
*动画设置
Diffstat (limited to 'Assets/Scripts/Test/RootConstainTest.cs')
-rw-r--r--Assets/Scripts/Test/RootConstainTest.cs2
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;