public void Update() { UpdateAvailableCells(); Cell = availableCells [Random.Next(availableCellsCount)]; Cell.SetActive(true, color); }
public void AddHead(Cell cell) { Head.SetActive(true, bodyColor); cells.AddFirst(cell); cell.SetActive(true, headColor); }