Exemplo n.º 1
0
        public void Update()
        {
            UpdateAvailableCells();

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

            Cell.SetActive(true, color);
        }
Exemplo n.º 2
0
        public void AddHead(Cell cell)
        {
            Head.SetActive(true, bodyColor);

            cells.AddFirst(cell);

            cell.SetActive(true, headColor);
        }