I'm working on my final project for school and I'm a complete beginner.
I was trying to make it where there's a patrolling enemy that you have to sneak by. The enemy is invisible unless you look through a special lens. But when you use the lens the enemy can see you as well and then chases you down.
How would I make an equippable lens that the player can look through?
How would I make the enemy invisible and visible through the lens?
How would I make the player visible to enemies only when using the lens?
Also how could I make certain walls invisible/visible through the lens?