Unity tells me that this line is obsolete and I don’t know how to fix this.
Projectile missile = collider.gameObject.GetComponent ();
Also I have two lasers coming out of my ship can someone explain this to me as well.
Unity tells me that this line is obsolete and I don’t know how to fix this.
Projectile missile = collider.gameObject.GetComponent ();
Also I have two lasers coming out of my ship can someone explain this to me as well.
It’s something I see with Unity 2017 and monodevelop, getcomponent autocompletion doesn’t work fine.
It’s Getcomponent ()
ie: Getcomponent ()