设置帧率
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user