Method | Description | |
---|---|---|
LayerMaskField ( string label, LayerMask layerMask ) : LayerMask |
Creates a LayerMask field in an editor(EditorWindow, Editor). Unity is missing it, so there is the need to implement this handmade. Use example: private LayerMask layerMask = 0; // this has global scope layerMask = CustomEditorExtension.LayerMaskField("Layer Mask: ", layerMask);
|
public static LayerMaskField ( string label, LayerMask layerMask ) : LayerMask | ||
label | string | |
layerMask | LayerMask | |
return | LayerMask |