Game Stats

What??

I have created a static class called gameStats, which saves data over multiple scenes.

So far it holds the varaibles: who died

Which is being used on the stats screen to see who was the player which lost the game for everyone!

You write to static class variables by : gameStats.control.whoDied

Rather than gameObject.Find or through delegates, this makes it super simple!

 

References:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s