namespace TagFighter
{
    public static class LayerMaskExtensions
    {
        public static bool IsLayerInMask(this UnityEngine.LayerMask layerMask, int layer) {
            return layerMask == (layerMask | (1 << layer));
        }
        public static int GetUnitsLayerMask() => UnityEngine.LayerMask.GetMask("Units");
    }

}