public void ResetConfigs() { m_logTMP.SetText("ResetConfigs"); m_data = new SettingDataA(0, 0); m_languageDropDownItem.SetData((int)m_data.Language); m_volumeItem.SetData(m_data.Volume); }
public void LoadConfigs() { m_logTMP.SetText("LoadConfigs"); SettingDataA data = LocalSaveManager.TempLoad <SettingDataA>(); if (null == data) { m_data = (SettingDataA)SettingDataA.GetDefaultSetting(); } else { m_data = data; } m_languageDropDownItem.SetData((int)m_data.Language); m_volumeItem.SetData(m_data.Volume); }