中
This commit is contained in:
@@ -79,7 +79,7 @@ public class GraphicsSetting
|
||||
public float renderScale = 1.0f;
|
||||
public bool isCustom = false;
|
||||
|
||||
public int resolutionIndex = 0;
|
||||
public int resolutionIndex = Screen.resolutions.Length - 1;
|
||||
public bool fullscreen = true;
|
||||
public bool borderless = false;
|
||||
public int displayIndex = 0;
|
||||
|
||||
@@ -37,8 +37,12 @@ public class SettingsWindow : UIBaseWindow
|
||||
}
|
||||
SwitchPanel(generalPanel);
|
||||
base.OnShow();
|
||||
GameSystem.Inst.UpdateCursorState(false);
|
||||
}
|
||||
protected override void OnHide()
|
||||
{
|
||||
GameSystem.Inst.UpdateCursorState(true);
|
||||
}
|
||||
|
||||
private void SwitchPanel(UIBasePanel newPanel)
|
||||
{
|
||||
if (currentPanel != null)
|
||||
|
||||
Reference in New Issue
Block a user