修改倍速快捷键

This commit is contained in:
shenjianxing 2024-12-31 17:40:54 +08:00
parent 46e28cbf9c
commit bc24fdb3d8

View File

@ -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
}