Пример #1
0
        public static void CopyGameData(params string[] path)
        {
            if (g_gameStorageManager != null)
            {
                g_gameStorageManager.Suspend();

                var outPath = GetFilePath(path);

                if (Directory.Exists(outPath))
                {
                    Directory.Delete(outPath, true);
                }

                DirectoryCopy(GameDataFolder, outPath, true);

                g_gameStorageManager.Resume();
            }
        }