Skip to main content

EnumSettingAccess

An abstract class in Root.Township, Alta.Utilities.

Base for string settings that offer a fixed list of options, such as EnumGameSettingAccess and MicrophoneEnumSettingAccess.

Constructors​

MemberWhat it is
protected EnumSettingAccess()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Methods​

MemberWhat it is
virtual async Task<string[]> GetPossibleValue()The option names to show. The base returns a single empty string.