Unity’s LayerMasks: How do They Work?
LayerMask: How it Works? LayerMask specifies a set of layers contained with a technique called bitmasking, which allows a bitchain to use each bit as a value (e.g., a data type of 4 bytes can have ) Unity has the first 8 layer values specified () As I explained in a Game-Dev Stack Exchange question, … Read more