Documentation

Page contents

Updated

Generate PDF from page.

Enum list pop up window

Description

Allows to search fields in a list from inspector with a popup.

Reference

Use

The method “BuildEnumListPopUpWindow()” allows to build a popup with a search field, this field will filter the elemements of string list and assigns the selected element to the property.

In this example you can see the use.

public override void OnInspectorGUI()
{
   CGFEditorUtilitiesClass.BuildEnumPopUpWindow("Label Name", "Description", rectPosition, serializedProperty, EnumType);
}