From 567fc2da0b5367cbbe59ea5fb3596802c2aa7a43 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 29 Jul 2021 18:47:06 +0800 Subject: +collider editor --- Assets/ActionTool/Editor/ActionPreviewEditor.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Assets/ActionTool/Editor/ActionPreviewEditor.cs') diff --git a/Assets/ActionTool/Editor/ActionPreviewEditor.cs b/Assets/ActionTool/Editor/ActionPreviewEditor.cs index f0a828fc..ecec6dde 100644 --- a/Assets/ActionTool/Editor/ActionPreviewEditor.cs +++ b/Assets/ActionTool/Editor/ActionPreviewEditor.cs @@ -475,11 +475,12 @@ namespace ActionTool void GUI_Toolbar_Detail(ref float x, ref float y) { - x += kToolbarControlMargin; + x += kToolbarControlMargin + 20; Rect rect = new Rect(x, y, kToolbarControlSize, kToolbarControlSize); GUI.enabled = ActionManager.colliderData != null; if (GUI.Button(rect, new GUIContent(styles.infoIcon, "Detail"))) { + ActionManager.EditCollider(); } GUI.enabled = true; x += kToolbarControlSize; -- cgit v1.1-26-g67d0