I love to keep my code clean, yet sometimes I am forced to make little hacks.
One commenly used hack for me is creating a seperate class containing two variables, one variable as a key and the other a value. This cheaty code I had to write everytime I’d needed to fake a serialized Dictionary or Hashmap.
After years Unity still has no way of serializing Dictionaries or Hashmaps. Does anyone know why?