示例#1
0
        private void OnSelectedTwoCells(CellView cellView1, CellView cellView2)
        {
            DOTween.defaultAutoKill = true;
            if (gridModel.Calculate(cellView1.Index, cellView2.Index))
            {
                PlusScore(cellView2.transform.position, 30);
                RemoveRow(true);
                //Debug.LogWarning(cellView1.Index + " Index, " + cellView1.Weight + " Weight, ");
                SavedGrids.UpdateListGrid(gridModel);
            }

            if (gridModel.Grid.Count <= 1728)
            {
                addNewNumbers.interactable = true;
            }
        }