From bc24fdb3d8be31ee5b3d27aa7d5e449a5aaa4cc0 Mon Sep 17 00:00:00 2001 From: shenjianxing <”315615051@qq.com“> Date: Tue, 31 Dec 2024 17:40:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=80=8D=E9=80=9F=E5=BF=AB?= =?UTF-8?q?=E6=8D=B7=E9=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/TimeScaleController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/Scripts/TimeScaleController.cs b/Assets/Scripts/TimeScaleController.cs index 95a26458..d2afdbe3 100644 --- a/Assets/Scripts/TimeScaleController.cs +++ b/Assets/Scripts/TimeScaleController.cs @@ -9,7 +9,6 @@ public class TimeScaleController : MonoBehaviour public float animSpeed = 1.0f; -#if UNITY_EDITOR private void Update() { Time.timeScale = animSpeed; @@ -30,5 +29,5 @@ public class TimeScaleController : MonoBehaviour animSpeed = 0; } } -#endif + }