C# Class CustomEditorExtension, NavMeshHelper

Class that holds Unity Editor custom methods and extension methods. This class are intended to write facilitators and functionallity that the built in tools dont provide.
显示文件 Open project: garcialuigi/NavMeshHelper Class Usage Examples

Public Methods

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);

Method Details

LayerMaskField() public static method

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