Question: Create a Scoring/Game information Data Structure that uses the Singleton Design Pattern.The data structure should store at least three types of information if not more:
Create a Scoring/Game information Data Structure that uses the Singleton Design Pattern.The data structure should store at least three types of information if not more:
Score,
Main character health,
Money,
and so on.
Your singleton will need to have public properties so that you can update the information.
You will need a scene in your project to show your singleton works.
The easiest way to do this is to use the UI components of Unity3D.
This project has to work in Unity3D.
Your Singleton class will NOT extend the MonoBehaviour class.
All code will be done in C#.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
