コード例 #1
0
    // TODO
    public static void Test(int i)
    {
        var dictionary = new Dictionary <string, string>();

        dictionary["perls"] = "dot";
        dictionary["net"]   = "perls";
        dictionary["dot"]   = "net";
        Instance.Write(dictionary, Path.Combine(Application.dataPath, "controller_" + i + ".bin"));

        dictionary = Read(Path.Combine(Application.dataPath, "controller_" + i + ".bin"));
        foreach (var pair in dictionary)
        {
            Debug.Log(pair);
        }
    }