I have two classes A and B that derive from scriptable object.
Currently, class A has a public field of type B. When creating a new A through the asset menu, I have to drag in any B to this field.
However, I want a specific B to be automatically part of A, so without me having to assign it for every A.
My first idea would be to use OnEnable and search for the asset in some way and set the field if it is null, but im not sure if this is smart or even possible.
Any ideas? Thank you for your time!