When I typed other.tag for the collision detector script, I got an error saying Collision 2D does not contain a definition for tag despite the fact I created the tag used in my code.
public class CrashDetector : MonoBehaviour
{
private void OnCollisionEnter2D(Collision2D other) {
if(other.tag == "Ground")
{
Debug.Log("Wipe Out");
}
}
}