设置帧率

This commit is contained in:
SoulliesOfficial
2025-06-08 13:04:13 -04:00
parent 8057a1dcb9
commit fc53c2437a
7 changed files with 1083 additions and 12662 deletions

View File

@@ -54,12 +54,14 @@ namespace Ichni
if (!ES3.FileExists(Application.streamingAssetsPath + "/EditorSettings.es3"))
{
editorSettings = new EditorSettings(300, 3, 100, 100);
editorSettings = new EditorSettings(300, 3, 100, 100, 60);
EditorSettings.SaveSettings(editorSettings);
Application.targetFrameRate = editorSettings.frameRate;
}
else
{
EditorSettings.LoadSettings(ref editorSettings);
Application.targetFrameRate = editorSettings.frameRate;
}
}