예제 #1
0
        public void Update()
        {
            UpdateAvailableCells();

            Cell = availableCells [Random.Next(availableCellsCount)];

            Cell.SetActive(true, color);
        }
예제 #2
0
        public void AddHead(Cell cell)
        {
            Head.SetActive(true, bodyColor);

            cells.AddFirst(cell);

            cell.SetActive(true, headColor);
        }