fix:调整静态数据存储gamelocal
This commit is contained in:
@@ -262,12 +262,12 @@ public class HttpServer : MonoBehaviour
|
||||
|
||||
private int GetGameTotalTime()
|
||||
{
|
||||
return Mathf.FloorToInt(GameManager.Ins.vistAllTime); // 举例:1 小时(秒)
|
||||
return Mathf.FloorToInt(GameLocal.Ins.vistAllTime); // 举例:1 小时(秒)
|
||||
}
|
||||
|
||||
private int GetCurrentPlayTime()
|
||||
{
|
||||
return GameManager.Ins.GetNowTime();
|
||||
return GameLocal.Ins.GetNowTime();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user