Replicates the Crystal Switch Mechanic as seen in a lot of video games like the Legend of Zelda.
Your player can collide with the switch to invert the barrier blocks.
- Uses Event Broadcasting
- Fast! No "FindObjectsWithTag"
- Crystal Switch and Blocks are independent GameObjects
- Great setup guide.
- Ready to use! Just drag and drop the prefabs and scripts!