fix:调整中控脚本
This commit is contained in:
@@ -418,7 +418,10 @@ public class GameManager : MonoBehaviour
|
||||
|
||||
private void Update()
|
||||
{
|
||||
curGameTime += Time.deltaTime;
|
||||
if (gameState != GameState.None)
|
||||
{
|
||||
curGameTime += Time.deltaTime;
|
||||
}
|
||||
if (Input.GetKeyDown(KeyCode.Q))
|
||||
{
|
||||
//TaskManager.Ins.StopTask(true);
|
||||
|
||||
@@ -261,7 +261,7 @@ public class HttpServer : MonoBehaviour
|
||||
|
||||
private int GetGameTotalTime()
|
||||
{
|
||||
return Mathf.FloorToInt(GameManager.Ins.vistEnd); // 举例:1 小时(秒)
|
||||
return Mathf.FloorToInt(GameManager.Ins.vistEnd+5*60); // 举例:1 小时(秒)
|
||||
}
|
||||
|
||||
private int GetCurrentPlayTime()
|
||||
|
||||
Reference in New Issue
Block a user