Script for using Kongregate statistics from inside Unity.
In Unity:
- create an empty GameObject
- attach the Kongregate script
- in Kongregate.cs, implement and edit the
'ExampleUpdateScore'
method
On Kongregate.com
- upload your game
- add a statistic
- make sure the name matches the string in ExampleUpdateScore (or whatever you called it)
- make sure you enable 'Display in High Scores', otherwise you will never see the statistic (unless you implement reading it and displaying it in Unity into your game)
Need more help?
- talk to joon: @joonturbo (twitter)