C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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);

Описание методов

LayerMaskField() публичный статический Метод

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
Результат LayerMask