So I'm about to start development on a game in unity that is going to require multiple choice each choice having a some what unique function. I've thought of 2 ways of doing this but I'm unsure if there is an easier way as I've never really worked with unity.
So the first way I was thinking about doing this and I think better then the second would be to make a class for each choice with all the functions that belong to that choice in there and then just calling it when its needed. However, I don't know if this will scale very well as I will have over 100 different events with their own choices...
The second way I was thinking was to do it via JSON and then just code each function to parse that. So for example:
dothat etc... However this seems like a lot more work then it would be worth so I'm not 100% sure...
So I'm wondering what option would be better and if anyone else has any suggestions I'd love to hear!