How can I create an alias for a class, globally, in Unity?
问题 Right now, I am using "string" to enumerate a list of equipment slots on a character. I am also using "string" to enumerate the class type that the item can be equipped on. This makes all my methods where I get, remove, generate, etc. items involve having two string parameters that is an equipment slot and class type. What I really would like is to use 2 classes so that I have 2 strongly typed concepts for the slot and class_type. The problem is that string is a sealed class and thus I cannot