summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/Utils/GameLoop.cs
blob: 6ae7d87c412dddb7dd7f523075fae64795ac0f0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameLoop : Singleton<GameLoop>
{

	public GameLoop()
	{
		indexOfUpdate = 0;
	}

	public int indexOfUpdate { get; private set; } = 0;

	public void Update()
	{
		++indexOfUpdate;
	}

}