From 9f99fc3d564950b491dce421b59661109d5580ca Mon Sep 17 00:00:00 2001 From: GL <2365963573@qq.com> Date: Sat, 28 Dec 2024 15:46:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BB=E5=87=BB=E8=8C=83=E5=9B=B4bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Role/Attack.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Role/Attack.cs b/Role/Attack.cs index 57c57c5..4da1481 100644 --- a/Role/Attack.cs +++ b/Role/Attack.cs @@ -359,7 +359,7 @@ private void GenerateBullet(float angle, Vector2 startPos, Vector2 changePos)// // 计算缩放因子,使得图片的直径与碰撞体的直径匹配 - characterClick.OrSizeX = role.AttackRange * 2f / characterClick.OrSizeX; // * 2f 因为 radius 是半径,图片的尺寸通常是直径 + characterClick.OrSizeX = role.AttackRange * 2f / characterClick.StartSizeX; // * 2f 因为 radius 是半径,图片的尺寸通常是直径