Play a Random Voice-Line in Unity, with just 1 Line of Code
Objective: play a random voice line, from a set, using clean and clever code
Have you ever played a strategy game or a mouse-based action RPG?
such as Age of Empires and Command&Conquer or Diablo and Dungeon Siege
I played them often as a child. Now that I develop games in my free time, I often go back in memories to think about this or that game feature, trying to find a solution by myself or explain how could they have done it…