小修改
This commit is contained in:
parent
8fde270423
commit
f9085935d5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user