少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-31 49e0f5483c099f4bf6d8222fbe1acadd0ee689ab
System/SystemSetting/SystemSetting.cs
@@ -56,7 +56,7 @@
    public void SetGameFps(GameFps _frame)
    {
        LocalSave.SetInt(GAMEFRAME_KEY, (int)_frame);
        SetFPSLimit((int)_frame);
        Application.targetFrameRate = Mathf.Clamp((int)_frame, 30, 60);
        if (gameFrameChangeEvent != null)
        {
            gameFrameChangeEvent();
@@ -216,15 +216,7 @@
        }
    }
    public void SetFPSLimit(int _fps)
    {
        Application.targetFrameRate = Mathf.Clamp(_fps, 30, 60);
    }
    public int GetFPSLimit()
    {
        return (int)GetGameFps();
    }
    public void LetFPSUnLimit()
    {