From f9085935d5427ccc6ac969d9721c841354f63e43 Mon Sep 17 00:00:00 2001 From: GL <2365963573@qq.com> Date: Wed, 18 Dec 2024 21:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Role/Bullet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Role/Bullet.cs b/Role/Bullet.cs index 4f7e89f..9466a73 100644 --- a/Role/Bullet.cs +++ b/Role/Bullet.cs @@ -105,7 +105,7 @@ public class Bullet : MonoBehaviour { Debug.Log(this.role.gameObject.name+"进行攻击计算"); int direction=0; - if (collision.transform.position.x>=transform.position.x)//子弹打到敌人左边,飘字显示到右边 + if (collision.transform.position.x>transform.position.x)//子弹打到敌人左边,飘字显示到右边 { direction = 1; }