From 104ca96a6581bddf48b769abdcb84842459260c3 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Oct 2020 08:41:43 +0800 Subject: =?UTF-8?q?*=E5=8A=A8=E7=94=BB=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Test/RootConstainTest.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'Assets/Scripts/Test/RootConstainTest.cs') 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; -- cgit v1.1-26-g67d0