Here is my problem:
I have a ScriptableObject class called Discovery, that has a class variable, GeneticCode
GeneticCode isn’t Monobehaviour, and i want it to be serialized in the inspector window of its Discovery, but it looks like i can’t use CustomEditor, CustomPropertyDrawer seems to be more approriate
GeneticCode has a list of Gene. Gene is another ScriptableObject class that i want to be able to drag and drop in the GeneticCode list to create a formula. They can be random except for the first one, that we can call BaseGene.
I want the BaseGene to be only settable to a specific list of Gene. This BaseGene list has to be settable somewhere in the inspector and when i come back to set the formula of a GeneticCode, the BaseGene appears like a drop-down menu based on the content of the BaseGene list, just like an enum would.
Any ideas on how to properly achieve this?
PS: In the screenshot, the BaseGene is just the first element of the list but it will be separated from the others.