Im new to Unity and i want to know if it
s possible to show nested ScriptableObject (SO) in Inspector. I want to click at the NPCSettings Asset and show all nested SO in the inspector, so that i can everything in one asset.
Is it possible to do that?
For example, i have 4 SO`s that are linked together:
public class NPCSettings : ScriptableObject
{
public Status status;
public Task[] tasks;
}
public class Task : ScriptableObject
{
public float startTime;
public float endTime;
public TaskType type;
public Routine routine;
public bool isInterferenceTask;
}
public abstract class Routine : ScriptableObject
{
public AnimatorStateController animatorStateController;
public abstract void ExecuteRoutine(Animator animator);
public abstract bool HasRoutineFinished();
}
public class Status : ScriptableObject
{
//Lots of Attributes
}