| | |
| | | {
|
| | | if (Application.isMobilePlatform)
|
| | | {
|
| | | if (LocalSave.GetString("#@#BrancH") != string.Empty)
|
| | | {
|
| | | int tmpbranch;
|
| | | int.TryParse(LocalSave.GetString("#@#BrancH").Substring(1), out tmpbranch);
|
| | | if (tmpbranch != 0)
|
| | | debugBranch = tmpbranch;
|
| | | }
|
| | |
|
| | | var parentDirectory = Directory.GetParent(Application.persistentDataPath);
|
| | | if (File.Exists(parentDirectory + "/Debug"))
|
| | | {
|
| | |
| | | var json = JsonMapper.ToObject<DebugBranch>(File.ReadAllText(parentDirectory + "/Debug"));
|
| | | debugBranch = json.branch;
|
| | | }
|
| | | }
|
| | |
|
| | | if (LocalSave.GetString("#@#BrancH") != string.Empty)
|
| | | {
|
| | | int tmpbranch;
|
| | | int.TryParse(LocalSave.GetString("#@#BrancH").Substring(1), out tmpbranch);
|
| | | if (tmpbranch != 0)
|
| | | debugBranch = tmpbranch;
|
| | | }
|
| | | }
|
| | | Clock.Init();
|