Table of Contents

Constructor StringPopupAttribute

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

StringPopupAttribute(string)

Marks a string field that should be drawn as a popup list using the given key to retrieve the values.

public StringPopupAttribute(string key)

Parameters

key string

The key used to retrieve the values for the popup list. The retriever function should be registered with RegisterValuesRetriever<T>(string, Func<IEnumerable<T>>). See (Property Drawers)[PropertyDrawers.md] for more details.

StringPopupAttribute(string[])

Marks a string field that should be drawn as a popup list using the given list of values.

public StringPopupAttribute(string[] values)

Parameters

values string[]