예제 #1
0
    public static void SaveLocalGhostAttempt(List <Ghosts.GhostFrame> frames)   //This saves the local player's current attempt on this level.
    {
        string str = Ghosts.FramesToString(frames);

        Debug.Log("saving local ghost attempt: " + str);
        PlayerPrefs.SetString("localGhostAttempt_" + SceneManager.GetActiveScene().name, str);
        PlayerPrefs.Save();
    }