コード例 #1
0
 /// <summary>
 /// Delete last added object from the list
 /// (used for Undo operation).
 /// </summary>
 public void DeleteLastAddedObjects(int addedCount)
 {
     if (_mokkanObjList.Count > 0 && addedCount <= _mokkanObjList.Count)
     {
         _mokkanObjList.RemoveRange(_mokkanObjList.Count - addedCount, addedCount);
     }
     MkaMokkanInfo.LastRBangou = GetMaxRBangou() + 1;
 }