火
This commit is contained in:
parent
a7c78891e2
commit
1e50006cf9
@ -159,8 +159,8 @@ public class Bullet : MonoBehaviour
|
|||||||
{
|
{
|
||||||
GameObject go = Instantiate(effectPre, collision.transform);
|
GameObject go = Instantiate(effectPre, collision.transform);
|
||||||
go.transform.position = new Vector2(collision.transform.position.x, collision.transform.position.y + 0.2f);
|
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>().bullet = this;
|
||||||
//go.GetComponent<Huo>().Crole = Crole;
|
|
||||||
Debug.Log("´´½¨»ðÑæ");
|
Debug.Log("´´½¨»ðÑæ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user