Example #1
0
        public void Update()
        {
            UpdateAvailableCells();

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

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

            cells.AddFirst(cell);

            cell.SetActive(true, headColor);
        }