mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
GameTimeWather
GameTimeWather
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user