void OnCollisionEnter2D(Collision2D coll) { if (coll.gameObject.tag == "Formbox") { Destroy(coll.gameObject); characterController.ChangeForm(FormEnum.Spacefighter); } }
void OnCollisionEnter2D(Collision2D coll) { if (coll.gameObject.tag == "Formbox") { Destroy(coll.gameObject); characterController.ChangeForm(FormEnum.Spacefighter); } }