Skip to content

Support for generic MonoBehaviours

Compare
Choose a tag to compare
@SolidAlloy SolidAlloy released this 30 Jan 12:13
· 254 commits to main since this release

The package underwent a total restructuring. The main new feature is generic MonoBehaviours. But there are a lot of other significant changes:

  • Any generic instance can be created at runtime.
  • All Unity UI was changed to support the generic classes: object fields, script inspectors, etc.
  • Performance improvements are huge. When creating a new generic class, recompilation happens a lot faster. Background tasks on domain reload are also completed much more faster.
  • Concrete classes are compiled into DLLs. It means that there is no risk of accidentally replacing or changing code in the auto-generated classes.
  • The package now detects changes to classes much more efficiently. Whether you move class, rename it, or just change a name of a generic argument, the package detects it and changes the auto-generated code.