if(collision.gameObject.tag==“tag super duper”)
{
print(“This if statement is not working!”)
}
//Assets/game2/collision script.js(3,4): BCE0005: Unknown identifier: ‘collision’.
if(collision.gameObject.tag==“tag super duper”)
{
print(“This if statement is not working!”)
}
//Assets/game2/collision script.js(3,4): BCE0005: Unknown identifier: ‘collision’.
it means it can’t recognise the collision structure - check to make sure it’s not something else, like, collider, or Collision… Upper case letter counts!
it should be highlighted if it’s recognised