private void Save() { List <PosVector> tempPos = new List <PosVector>(); foreach (var item in SeletedTiles) { tempPos.Add(item.Position); } SaveDataController.Save(DataName.DefaultFormation, tempPos); }
private void OnDestroy() { sav.Save(); }