gg
This commit is contained in:
parent
4d4a9e5b0b
commit
a7c78891e2
@ -157,8 +157,10 @@ public class Bullet : MonoBehaviour
|
||||
{
|
||||
if (effectPre!=null)
|
||||
{
|
||||
Instantiate(effectPre, collision.transform).transform.position=new Vector2(collision.transform.position.x, collision.transform.position.y+0.2f);
|
||||
|
||||
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;
|
||||
Debug.Log("´´½¨»ðÑæ");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user