- Home /
Saving data that will be recalled and affect the game story...
In my game, I have a set of events that can be taken by the player, to either press the left mouse button, or the right mouse button. These events I would like to save and recall at the end of the game, so as to influence a different ending. How can this code be implemented? Do I make use of triggers?
Thanks in advance!
Without more information about how these events are to be used, it is difficult to advise. Do you need context for each event, or just save the event? How many different events are you trying to save?
Answer by Kiloblargh · Feb 20, 2013 at 12:06 AM
It seems to me like your question has a one-word answer : PlayerPrefs.
What else do you need to know? Triggers are a kind of collider and have nothing to do with what you're talking about, so either you're confused or didn't properly explain your issue.
Sorry, I am new to this topic. Are there any resources or guides?
Your answer
![](https://koobas.hobune.stream/wayback/20220613093014im_/https://answers.unity.com/themes/thub/images/avi.jpg)