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.
Afficher le fichier Open project: garcialuigi/NavMeshHelper Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat LayerMask