Пример #1
0
 bool isCellValid(UICell cell)
 {
     return(
         GameManager.CanAddItems() &&
         m_Item.CanBuy() &&
         cell &&
         cell.canHover() &&
         cell.GetEType() == UIItem.eType.None &&
         (!cell.isDamaged())
         );
 }