Blog

Replace “switch” with Sctiptable Object in Unity

One of the design patterns in programming in Open-Closed Principle. It is part of the standard SOLID principles and takes it place at the ‘O’. According to Wikipedia, In object-oriented programming, the open/closed principle states “software entities (classes, modules, functions, etc.) should be…