Right, I understand that it is linked to it. My question is not about the prefab… I understand the relationship between the prefabs and the GameObjects linked to them.
My question is about using the Scriptable Object instead of a GameObject with a script attached. The only difference I have is that the Scriptable Object can be applied to the button directly, whereas the code in the lectures must be attached to a game object before the button can call it. Due to this, it seems that the Scriptable Object allows me to not need to remember to add a scene loader game object to every scene since the functionality can be applied directly to the button.
I am just asking is there an obvious downside to doing it this way? I’ve nearly completed the section at this point and everything seems to work fine, but I don’t want to learn things incorrectly by doing them differently.
I hope this has made sense, and I apologize for any misunderstandings.