C# Class UnityEngine.LayerMask

ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
GetMask ( ) : int

Given a set of layer names as defined by either a Builtin or a User Layer in the, returns the equivalent layer mask for all of them.

Private Methods

Method Description
LayerToName ( int layer ) : string
NameToLayer ( string layerName ) : int

Method Details

GetMask() public static method

Given a set of layer names as defined by either a Builtin or a User Layer in the, returns the equivalent layer mask for all of them.

public static GetMask ( ) : int
return int