示例#1
0
    private FileConfig LoadConfigFile()
    {
        string     configFilePath = PlayerPrefs.GetString(localPathKey);
        FileConfig config         = XmlEncoder.Deserialize <FileConfig>(configFilePath);

        if (config.FirstSetup)
        {
            SetupConfig(ref config);
        }

        return(config);
    }