It looks like you're new here. If you want to get involved, click one of these buttons!
the problem is sometimes the tags don't work with me like the photo
the tag doesn't work _also i tried CompareTag("Zombie")_
When i Remove tag the code worked
this problem faced me many times ,need Help Here 😄
Answers
The collider doesn't contain the tag definition
Use
HitLine.transform.tag
try it and didn't work too😓
i solved it by using layermask and it Worked