Hello :)
In the example scene, basically you have this:
OptionDataList optionDataList = new OptionDataList();
for (int i = 0; i < m_BigStringList.Length; i++)
{
string itemValue = m_BigStringList[i];
OptionData optionData = new OptionData(itemValue, MaterialIconHelper.GetRandomIcon(), () => { Debug.Log("I am selected: " + itemValue); });
optionDataList.options.Add(optionData);
}
What you need to do is this:
OptionDataList optionDataList = new OptionDataList();
for (int i = 0; i < m_BigStringList.Length; i++)
{
string itemValue = m_BigStringList[i];
OptionData optionData = new OptionData(itemValue, new ImageData(REFERENCE_TO_YOUR_SPRITE), () => { Debug.Log("I am selected: " + itemValue); });
optionDataList.options.Add(optionData);
}
Where REFERENCE_TO_YOUR_SPRITE is just a sprite you declared as public Sprite mySprite; for example.
Doing all of this will produce what you want BUT there's an issue we'll fix with the next update, is that the icons using sprite are grey instead of white... If this is really urgent for you, I can tell you how to fix that, if not, it will be in the next update ;)