From 49397f3dd7acf84a59d193ce473fde0a7a2614b2 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 24 十一月 2025 00:47:34 +0800
Subject: [PATCH] 0312 界面蒙版修改,按钮点击放大效果调整
---
Assets/Editor/Tool/PrefabCreateTool.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Assets/Editor/Tool/PrefabCreateTool.cs b/Assets/Editor/Tool/PrefabCreateTool.cs
index 6b80de6..fa50434 100644
--- a/Assets/Editor/Tool/PrefabCreateTool.cs
+++ b/Assets/Editor/Tool/PrefabCreateTool.cs
@@ -172,7 +172,8 @@
{
var button = UIUtility.CreateWidget("CommonButton", "CommonButton");
var buttonEx = button.GetComponent<ButtonEx>();
- buttonEx.interval = 0.5f;
+ buttonEx.interval = 0.1f;
+ buttonEx.pressedScale = 1.05f;
SetParent(button);
}
--
Gitblit v1.8.0