Character class working along with stats?
So in my game I want the first thing the player does is answer a series of questions about themselves. When they are done they will be give a color that matches their personality: Blue, Green, Yellow, Orange, Purple, Red, and Crystal. When you get your color your stats will be changed depending on what you get.
The five stats are: Speed, Attack, Defense, Endurance, and Jump
Blue stats doesn't change at all
Yellow jump increases a little, but speed decreases a little
Purple endurance increases a little, but jump decreases a little
Green defense increases a little, but attack decreases a little
Red attack increases a little, but defense decreases a little
Orange speed increases a little, but endurance decreases a little
Crystal increases all stats by a little.
I want it so Unity saves the color of the player is and set a script onto the character so it has its stats. There is also a account creation and I would like it to be saved to their account too unless they reset it. How would I go about doing this? If you need me to clarify on something tell me
Your answer
![](https://koobas.hobune.stream/wayback/20220612063837im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Universal Stats Class for game character/objects 0 Answers
call a class in another class 2 Answers
Generate object diagram from unity editor 0 Answers
How do I access a variable/class from a C# file in a JS file? 1 Answer
Multiplayer Class Changer 0 Answers