终于修复了PropertyItem多层预制体的收纳/展开rect错误

This commit is contained in:
2025-09-07 17:50:20 +08:00
parent 427b916dd2
commit 6de8b3ebc5
8 changed files with 58 additions and 27 deletions

View File

@@ -64,7 +64,11 @@ namespace Convention
}
if (Keyboard.current[Key.Space].isPressed)
dxyz += Vector3.up;
#if !UNITY_EDITOR
if (Keyboard.current[Key.LeftShift].isPressed)
#else
if (Keyboard.current[Key.Q].isPressed)
#endif
dxyz -= Vector3.up;
var drotation = Vector3.zero;