fix:静态数据放到gamelocal里
This commit is contained in:
@@ -262,15 +262,14 @@ public class HttpServer : MonoBehaviour
|
||||
|
||||
private int GetGameTotalTime()
|
||||
{
|
||||
return Mathf.FloorToInt(GameManager.Ins.vistAllTime+60*3); // 举例:1 小时(秒)
|
||||
return Mathf.FloorToInt(GameLocal.Ins.vistAllTime+60*3); // 举例:1 小时(秒)
|
||||
}
|
||||
|
||||
private int GetCurrentPlayTime()
|
||||
{
|
||||
return GameManager.Ins.GetNowTime();
|
||||
return GameLocal.Ins.GetNowTime();
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Shutdown
|
||||
|
||||
Reference in New Issue
Block a user