private void Save()
    {
        List <PosVector> tempPos = new List <PosVector>();

        foreach (var item in SeletedTiles)
        {
            tempPos.Add(item.Position);
        }

        SaveDataController.Save(DataName.DefaultFormation, tempPos);
    }
示例#2
0
 private void OnDestroy()
 {
     sav.Save();
 }