Esempio n. 1
0
    //****************************************************************************************************
    //
    //****************************************************************************************************

    public void Load()
    {
        if (PlayerPrefs.HasKey("version") == false)
        {
            ResetToDefault();

            Save();

            return;
        }

        m_colorBgnds = COLOR.FromInt(PlayerPrefs.GetInt("colorBGs"));

        m_coordUnit = (GPS.UNIT)PlayerPrefs.GetInt("coordUnit");

        DBInfos.server_adr = PlayerPrefs.GetString("server_adr");
    }