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.
파일 보기 프로젝트 열기: garcialuigi/NavMeshHelper 1 사용 예제들

공개 메소드들

메소드 설명
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