Hello everyone ! After watching 2 videos (
and
) and reading a lot on the subject, I decided to try making a project using scriptable object architecture. Everything is going quite smoothly, but I am still inexperienced in this matter, so I might doing some things the wrong way, that’s why I needed a bit of help from people who have a lot more of knowledge of scriptable object and what are the Do and Don’t.
Basically my question is : I have a player object with different parts (head, body, legs) and I have several systems that need to access data of the parts’ gameobject. How do I do that using scriptable objects ?
The solution that came to my mind is having a scriptable object with 3 Gameobject field, and the player populate these fields at the start of the game so every object having a reference of this scriptable object can access the parts of the player. Does this make sens? Is there a better way that I am missing ?
Thanks a lot !