Method | Description | |
---|---|---|
AddToMask ( this original ) : LayerMask |
Add the specific layers to the layer mask
|
|
IsInLayerMask ( this targetGameObject, LayerMask targetMask ) : bool |
Check if the game object fit the layer targetMask
|
|
LayerNumbersToMask ( ) : LayerMask |
Generate one layermask based on the layers number
|
|
NamesToMask ( ) : LayerMask |
public static AddToMask ( this original ) : LayerMask | ||
original | this | |
return | LayerMask |
public static IsInLayerMask ( this targetGameObject, LayerMask targetMask ) : bool | ||
targetGameObject | this | |
targetMask | LayerMask | |
return | bool |
public static LayerNumbersToMask ( ) : LayerMask | ||
return | LayerMask |