summaryrefslogtreecommitdiff
path: root/GameCode/GameAnalytics.cs
blob: 4451ccb839e80671945906571ef149b3137e7c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using UnityEngine;
using UnityEngine.Analytics;

public class GameAnalytics : MonoBehaviour
{
	private void Start()
	{
	}

	private void Update()
	{
		if (Input.GetKeyDown(KeyCode.P))
		{
			Analytics.SendEvent("PlayerKills", 5);
		}
	}
}