public static void Set(string key, object val) { var keys = GenerateKeys(key); for (var i = 0; i < keys.Count; ++i) { PlayerPrefsStrandard <float> .Set(keys[i], AbstractVector.GetAtIdx <T>(val, i)); } }
public static void Set(string key, object val) { var vec = new AbstractVector(val); var keys = GenerateKeys(key); for (var i = 0; i < keys.Count; ++i) { PlayerPrefsStrandard <ElemType> .Set(keys[i], vec[i]); } }