Unity is a content-driven engine, and many things are done based on serialized content. This feature can be used in source generators, for example, to generate code from files configured in the editor.
The basis of the generator is from previous articles, and as an example, we will generate an enum. Let's go.