Why we put != (nit equal) when we want to link Portal A in scene 1 with Portal A in Scene 2, and Portal B in scene 1 with Portal B in scene 2? I don’t understand the logic. I can write this same line in the code and it works but I don’t understand the logic behind. I would like clarification. From my perspective we want equal destination enum here to link two similar portals.
if(portal.destination != this.destination) continue;