Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I use a similar method as what unity does in their openproject actually scriptableobject statemachine. The scriptableobjects would store your polymorphic data using serializereference as I discussed in my previous post but they would have a virtual/abstract "create instance" method that would return the specific class instance. Personally I think this is cleaner than the enum approach.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.