public void OnCoinTap(Coin c) { if (m_changeCoin == 1) { c.ChangeCoinId (m_currentCoin); } else if (m_changeCoin == 2) { var cells = CurrentLevel.GetComponent<CellsInfo>(); if (cells != null && cells.Disabled != null) cells.Disabled.Add(new Point(c.XPos, c.YPos)); board.Refresh(); } }