修改快捷键
This commit is contained in:
parent
c40affec6c
commit
837a2bcdbf
@ -34,9 +34,9 @@ public class TimeScaleController : MonoBehaviour
|
|||||||
#if UNITY_WEBGL
|
#if UNITY_WEBGL
|
||||||
if (Input.GetKey(KeyCode.LeftAlt) || Input.GetKey(KeyCode.RightControl))
|
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;
|
string str = string.Empty;
|
||||||
str = $"Posision:{gameObject.transform.position}\nRotate:{gameObject.transform.eulerAngles}";
|
str = $"Posision:{gameObject.transform.position}\nRotate:{gameObject.transform.eulerAngles}";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user