Пример #1
0
 public static bool IsInLayerMask <T>(this T selfComponent, LayerMask layerMask) where T : Component
 {
     return(LayerMaskUtility.IsInLayerMask(selfComponent.gameObject, layerMask));
 }
Пример #2
0
 public static bool ContainsGameObject(this LayerMask selfLayerMask, GameObject gameObject)
 {
     return(LayerMaskUtility.IsInLayerMask(gameObject, selfLayerMask));
 }
Пример #3
0
 public static bool IsInLayerMask(this GameObject selfObj, LayerMask layerMask)
 {
     return(LayerMaskUtility.IsInLayerMask(selfObj, layerMask));
 }