C# Class LayerMaskExtensions, swip3

显示文件 Open project: unit9/swip3 Class Usage Examples

Public Methods

Method Description
AddToMask ( this original ) : LayerMask
Create ( ) : LayerMask
Inverse ( this original ) : LayerMask
LayerNumbersToMask ( ) : LayerMask
MaskToNames ( this original ) : string[]
MaskToString ( this original ) : string
MaskToString ( this original, string delimiter ) : string
NamesToMask ( ) : LayerMask
RemoveFromMask ( this original ) : LayerMask

Method Details

AddToMask() public static method

public static AddToMask ( this original ) : LayerMask
original this
return LayerMask

Create() public static method

public static Create ( ) : LayerMask
return LayerMask

Inverse() public static method

public static Inverse ( this original ) : LayerMask
original this
return LayerMask

LayerNumbersToMask() public static method

public static LayerNumbersToMask ( ) : LayerMask
return LayerMask

MaskToNames() public static method

public static MaskToNames ( this original ) : string[]
original this
return string[]

MaskToString() public static method

public static MaskToString ( this original ) : string
original this
return string

MaskToString() public static method

public static MaskToString ( this original, string delimiter ) : string
original this
delimiter string
return string

NamesToMask() public static method

public static NamesToMask ( ) : LayerMask
return LayerMask

RemoveFromMask() public static method

public static RemoveFromMask ( this original ) : LayerMask
original this
return LayerMask