GameTimeWather

GameTimeWather
This commit is contained in:
ALEXTANG
2022-08-29 13:26:49 +08:00
parent 9640b55a79
commit 052d81e039
2 changed files with 11 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ using UnityEngine;
public class DemoMain : MonoBehaviour
{
GameTickWatcher m_gameTimeWatcher = new GameTickWatcher();
// Start is called before the first frame update
void Start()
{
@@ -16,6 +17,7 @@ public class DemoMain : MonoBehaviour
private void OnStartGame()
{
Log.Debug("TEngineEvent.OnStartGame");
m_gameTimeWatcher.ElapseTime(true);
}
// Update is called once per frame