尝试优化Inspector的排版

在输数字的地方输入框的输入限制可以改成十进制数,这样就不会因为输了字母然后报错了
This commit is contained in:
2025-02-20 03:15:42 +08:00
parent 5349cde381
commit 28e8d54a7b
27 changed files with 761 additions and 479 deletions

View File

@@ -724,7 +724,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.11854753, g: 0.17248131, b: 0.2264151, a: 1}
m_Color: {r: 0.11854753, g: 0.17248131, b: 0.2264151, a: 0.39215687}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
@@ -757,9 +757,9 @@ MonoBehaviour:
m_Horizontal: 0
m_Vertical: 1
m_MovementType: 1
m_Elasticity: 0.1
m_Elasticity: 0.01
m_Inertia: 1
m_DecelerationRate: 0.135
m_DecelerationRate: 0.05
m_ScrollSensitivity: 100
m_Viewport: {fileID: 0}
m_HorizontalScrollbar: {fileID: 0}
@@ -886,7 +886,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 215, y: 0}
m_SizeDelta: {x: 50, y: 50}
m_SizeDelta: {x: 60, y: 45}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6548761174430130557
CanvasRenderer: