I think it's not relevant at all what the evaluation was before the opponent made the bad move that allows the tactic. For example, maybe the opponent had a mate-in-one that he didn't play!

The only relevant thing is the position that we see on the board when we are trying to solve the problem.