示例#1
0
 public static bool IsInLayerMask <T>(this T selfComponent, LayerMask layerMask) where T : Component
 {
     return(LayerMaskUtility.IsInLayerMask(selfComponent.gameObject, layerMask));
 }
 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));
 }