private void Update() { if (Input.GetKeyDown(KeyCode.S) && items.Count > 0) { int index = Random.Range(0, items.Count - 1); string randomMessage = items[index]; Color color = index % 2 == 0 ? evenColor : oddColor; Ticker.AddItem(randomMessage, lifespan, color); } if (Input.GetKeyDown(KeyCode.D)) { Ticker.Clear(); } }