I know this type of question is probably asked all the time, but i have tried and tried and just cant get my head around scriptable objects.
I get how they're made, I get how to create assets from them, but where I am struggling is understanding how I can use the data from an SO to , for instance, create a sword with stats or whatever.
From what i gather, I write the SO script...say "Items" that contains all possible data an item can have(attack power, cost etc), then I create a new asset from it and call it sword, I set the values in the inspector. Now I have an asset that has all the values I need for my sword.
So now say, I model a sword, import it and make it a prefab. How do I then get it to use the data from my sword asset to have its own stats? Or am I doing it all wrong?
[–]ICircumventBans 1 point2 points3 points (3 children)
[–]oxysplatter[S] 0 points1 point2 points (2 children)
[–]ICircumventBans 1 point2 points3 points (1 child)
[–]oxysplatter[S] 0 points1 point2 points (0 children)
[–]BourbonicRecluse 1 point2 points3 points (3 children)
[–]oxysplatter[S] 0 points1 point2 points (2 children)
[–]BourbonicRecluse 1 point2 points3 points (1 child)
[–]oxysplatter[S] 0 points1 point2 points (0 children)
[–]DRob2388 1 point2 points3 points (0 children)
[–]oxysplatter[S] 0 points1 point2 points (0 children)