public void SaveAsBinary() { string path = Path.Combine(Application.persistentDataPath, $"{_name}.dat"); var loadSystem = new BinarySaveLoadSystem(); loadSystem.Save(path, _currentWallet); }
public void LoadFromBinary() { string path = Path.Combine(Application.persistentDataPath, $"{_name}.dat"); var loadSystem = new BinarySaveLoadSystem(); _currentWallet = loadSystem.Load <Wallet>(path); UpdateView(); }