public void SetBlock(int cellID) { BaseCell blockCell = CellManager.Instance.GetCellByID(cellID); if (blockCell == null) { Debug.Log("blockCell = null"); return; } blockCell.SetIsBlock(true); }