Commit d10be7d4 authored by SherryChaos's avatar SherryChaos

new version logic

parent 07345d64
...@@ -135,7 +135,7 @@ namespace MDPro3 ...@@ -135,7 +135,7 @@ namespace MDPro3
IEnumerator LoadMainSceneAsync() IEnumerator LoadMainSceneAsync()
{ {
Config.Initialize("Data/config.conf"); Config.Initialize("Data/config.conf");
Config.Set("Version", Application.version); Config.Set("Version", Application.version.Substring(0, 5));
Config.Save(); Config.Save();
var ini = Addressables.InitializeAsync(); var ini = Addressables.InitializeAsync();
while (!ini.IsDone) while (!ini.IsDone)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment