public void SetUp()
        {
            PrefAccessor <string> accessor = new StringPrefAccessor();
            var powerPrefsAccessor         = new PowerPrefsAccessor <string>(accessor);

            valueAccessor = new PowerPrefsKeyAccessor <string>(powerPrefsAccessor, TestKey);
        }
Пример #2
0
 void Awake()
 {
     accessor = PowerPrefs.ForInt().KeyAccessor(KeyCounter);
     CounterChanged(accessor.Get());
 }