Class PopupListData
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Data used to draw a popup list.
[Version(4, 3, 0)]
public class PopupListData
- Inheritance
-
PopupListData
- Derived
- Inherited Members
- Extension Methods
Remarks
This class is used to implement property drawers for popup lists. You should generally only need it if you implement a custom drawer, as explained in Property Drawers, but even then you should probably use PopupListData<T>.
Constructors
- PopupListData(ValuesRetrievalMethod)
Initializes a new instance of the PopupListData class that indicates that the given method will be used to retrieve values for the popup list.
- PopupListData(string)
Initializes a new instance of the PopupListData class stores the key used to retrieve the values.
Properties
- RetrievalMethod
The method used to retrieve the values for the popup list marked by this attribute.
- ValuesRetrieverKey
Gets the key used to retrieve the values for the popup list, if RetrievalMethod is FuncKey.
Methods
- ValidateRetrievalMethod(ValuesRetrievalMethod)
Checks that the RetrievalMethod is the expected one.