Gizmo 단축키 유니티와 통일 #205

Merged
jym merged 1 commits from pgd/20250715_1 into main 2025-07-15 13:43:10 +09:00

View File

@@ -417,10 +417,10 @@ namespace Studio.AssetTool
upKeyActions.Add(KeyCode.Mouse0, OnMousePointerUp);
downKeyActions.Add(KeyCode.Mouse1, OnMouseRightPointerDown);
upKeyActions.Add(KeyCode.Mouse1, OnMouseRightPointerUp);
downKeyActions.Add(KeyCode.Q, () => SetGizmoChangedCommand(new ActivateMoveGizmoCommand()));
downKeyActions.Add(KeyCode.W, () => SetGizmoChangedCommand(new ActivateRotateGizmoCommand()));
downKeyActions.Add(KeyCode.E, () => SetGizmoChangedCommand(new ActivateScaleGizmoCommand()));
downKeyActions.Add(KeyCode.R, () => SetGizmoChangedCommand(new ResetGizmoCommand()));
downKeyActions.Add(KeyCode.W, () => SetGizmoChangedCommand(new ActivateMoveGizmoCommand()));
downKeyActions.Add(KeyCode.E, () => SetGizmoChangedCommand(new ActivateRotateGizmoCommand()));
downKeyActions.Add(KeyCode.R, () => SetGizmoChangedCommand(new ActivateScaleGizmoCommand()));
//downKeyActions.Add(KeyCode.R, () => SetGizmoChangedCommand(new ResetGizmoCommand()));
downKeyActions.Add(KeyCode.Delete, () => CommandInvoker.instance.Invoke(new RemoveSelectObjectCommand()));
getKeyActions.Add(KeyCode.V, VertexSnap);