小修改

This commit is contained in:
GL 2024-12-18 21:07:57 +08:00
parent 8fde270423
commit f9085935d5

View File

@ -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;
}