修改快捷键

This commit is contained in:
shenjianxing 2025-01-02 10:24:01 +08:00
parent c40affec6c
commit 837a2bcdbf

View File

@ -34,9 +34,9 @@ public class TimeScaleController : MonoBehaviour
#if UNITY_WEBGL
if (Input.GetKey(KeyCode.LeftAlt) || Input.GetKey(KeyCode.RightControl))
{
if (Input.GetKeyDown(KeyCode.A))
if (Input.GetKeyDown(KeyCode.Q))
{
Debug.Log("Ctrl + W 被按下!");
Debug.Log("Ctrl + Q 被按下!");
string str = string.Empty;
str = $"Posision:{gameObject.transform.position}\nRotate:{gameObject.transform.eulerAngles}";