EVERYTHING

This commit is contained in:
niko
2026-06-01 17:19:55 +02:00
parent d063b81359
commit b62bac090b
1081 changed files with 1716544 additions and 0 deletions
@@ -0,0 +1,29 @@
using System.Collections.Generic;
using UnityEngine;
namespace Photon.VR.Saving
{
public class PhotonVRValueSaver : MonoBehaviour
{
public static void SaveDictionary(string location, Dictionary<string, string> value)
{
PlayerPrefs.SetString(location, string.Join(",", value.Keys));
foreach (KeyValuePair<string, string> item in value)
{
PlayerPrefs.SetString(location + item.Key, item.Value.ToString());
}
}
public static Dictionary<string, string> GetDictionary(string location)
{
string[] array = PlayerPrefs.GetString(location).Split(',');
Dictionary<string, string> dictionary = new Dictionary<string, string>();
string[] array2 = array;
foreach (string text in array2)
{
dictionary[text] = PlayerPrefs.GetString(location + text);
}
return dictionary;
}
}
}
@@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: 01c33e603f201051f9f526ffa939780d
timeCreated: 1780325055
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant: