This commit is contained in:
GL 2024-12-20 18:02:06 +08:00
parent a7c78891e2
commit 1e50006cf9

View File

@ -159,8 +159,8 @@ public class Bullet : MonoBehaviour
{
GameObject go = Instantiate(effectPre, collision.transform);
go.transform.position = new Vector2(collision.transform.position.x, collision.transform.position.y + 0.2f);
// go.GetComponent<Huo>().bullet = transform.GetComponent<Bullet>();
//go.GetComponent<Huo>().Crole = Crole;
go.GetComponent<Huo>().bullet = this;
Debug.Log("´´½¨»ðÑæ");
}
}