Code: Select all
private void GetFilenamesToLoad()
{
loadDropDown.options.Clear();
foreach (var filename in ES3.GetFiles(Application.persistentDataPath + "/UserMaps/"))
{
loadDropDown.options.Add(new TMP_Dropdown.OptionData(filename));
}
loadDropDown.RefreshShownValue();
}
Only thing I can think of is using a single file for all user created maps.
Any Ideas