- Home /
Can I use Scriptable Objects for Hero Stats that change throughout the game?
Hi,
Game I am Building:
I am looking to build a game with say 50 playable characters. I want them all to be able to be upgraded and stats changed through game play. In your party you can carry 3 at one time.
Question
Can I use a scriptable object per character to hold all of their stats?
Can I also have a scriptable object for the main player who will have an 'inventory' of unlocked characters and what characters are in their 'party'. So this would be a scriptable object within a scriptable object sort of idea.
All of this data would be edited through playing as stats can be updated and heros can be swapped in and out / unlocked by the player.
I just wanted to know if this was a good or bad structure? Are there issues associated with this? Is there a better way?
Your answer
Follow this Question
Related Questions
Referencing a class defined within a ScriptableObject 0 Answers
"Unbroken Reference" problem when using a custom Editor to Save/Load a ScriptableObject Asset 0 Answers
Why do I need to serialize a struct inside a ScriptableObject to save its data? 1 Answer
Using a ScriptableObject to store script references 2 Answers