I’m having some trouble to connect the final dots in this matter. I get most of what is going on in the examples provided in this article:
So I created a scriptable object with a couple of variables. But how can I read the variables from my objects in the scene?
The only way I was able to accomplish this was by instantiating the scriptable in a singleton. But I would like to get rid of the singleton system altogether by implementing an event system.
However I stumble upon the same issue: how to access the Scriptable from so many objects in the scene. Because if I need to instantiate the scriptable, then a singleton will be required again.
I know I’m missing something rather simple here, but trust me I’m not being purposely obtuse. I’m sort of craving for someone to break this down for me step by step.
Thanks in advance!