Obtenha GameObject LayerMask

gameObject.layer;
MunchDuster