Пример #1
0
 public void ClearTiles()
 {
     for (int i = 0; i < tiles.Length; i++)
     {
         if (tiles[i] != null)
         {
             contentFactory.Reclaim(tiles[i].Content);
             CustomDestroy.SafeDestroy(tiles[i].gameObject);
         }
     }
 }
 //回收
 public void Recycle()
 {
     originFactory.Reclaim(this);
 }