Hey, so this is an issue I've ended up butting my head against multiple times over the years, and I wonder if there's either:
- A decent solution for the issue
- An entirely different design-pattern that solves the issue
This has to do with assets:
I want to assign logic assets in the inspector (via SOs), but I also want to modify their 'default values'.
If I wanted SOs of the same type to have different default values, I'd have to create multiple assets of that type for each default value.
Is there a simple way of injecting these default values (into an instantiated version of the scriptable object), in an inspector-serialized manner, or would I be forced to hack a solution like placing injection components or something of the sort?
I know this isn't necessarily the intended use of SOs, but I want to make the logic inspector-friendly.
As I said before, if there's a better design pattern that can be used in such cases, I'd be happy to hear!