- Home /
Question by
leonalchemist · Nov 21, 2014 at 04:47 AM ·
layerslayermask
Enable disable layerMask
surprisingly very little information around so to put it very simply I'm only trying to enable or disable layer in the layerMask no.18 and 19, how do I go about that? dont understand why unity makes this so complicated anyone knows how it works?
Comment
never$$anonymous$$d, using
collision$$anonymous$$ask = (1 << 17) | (1 << 18);
seems to work