At the end of the game, a file contains for of the player’s selections will be provide to the professor.

There are server ways to create a file in C# within Unity, I used  the StreamWriter and FileInfo to be the components for this task.

I created a C# with public class name: Tracking. Within the class, I created a function called ToFile with parameter accepting a string.

I created a file call: myfile.txt and save it under a Asset/TextFile directory.

Using Event Trigger with event type: Pointer Click. Overtime player choose click on the button, it will save that into a file. Something like this: