Example #1
0
    public static void LoadAll(Manager manager)
    {
        // Load any saved chips
        var sw = System.Diagnostics.Stopwatch.StartNew();

        ChipLoader.LoadAllChips(GetChipSavePaths(), manager);
        Debug.Log("Load time: " + sw.ElapsedMilliseconds);
    }
Example #2
0
    public static void LoadAll(Manager manager)
    {
        // Load any saved chips
        var sw            = System.Diagnostics.Stopwatch.StartNew();
        var chipSavePaths = Directory.GetFiles(CurrentSaveProfileDirectoryPath, "*" + fileExtension);

        ChipLoader.LoadAllChips(chipSavePaths, manager);
        Debug.Log("Load time: " + sw.ElapsedMilliseconds);
    }