public override void UpdateUI() { int graphicOptionType = InGameManager.GetGraphicOptionType(GameSaveData.instance.graphicOptionKey); int arrowCameraType = InGameManager.GetArrowCameraType(GameSaveData.instance.arrowCameraKey); SetToggle((Enum)UI.TGL_DRAW_LOW, graphicOptionType == 0); SetToggle((Enum)UI.TGL_DRAW_STANDARD, graphicOptionType == 1); SetToggle((Enum)UI.TGL_DRAW_HIGH, graphicOptionType == 2); SetToggle((Enum)UI.TGL_DRAW_HIGHEST, graphicOptionType == 3); SetToggle((Enum)UI.TGL_HEAD_NAME_ON, GameSaveData.instance.headName); SetToggle((Enum)UI.TGL_HEAD_NAME_OFF, !GameSaveData.instance.headName); SetToggle((Enum)UI.TGL_AUTO_ROTATION_ON, GameSaveData.instance.enableLandscape); SetToggle((Enum)UI.TGL_AUTO_ROTATION_OFF, !GameSaveData.instance.enableLandscape); SetToggle((Enum)UI.TGL_MINIMAP_ENEMY_ON, GameSaveData.instance.enableMinimapEnemy); SetToggle((Enum)UI.TGL_MINIMAP_ENEMY_OFF, !GameSaveData.instance.enableMinimapEnemy); SetToggle((Enum)UI.TGL_ARROW_CAMERA_A, arrowCameraType == 0); SetToggle((Enum)UI.TGL_ARROW_CAMERA_B, arrowCameraType == 1); SetButtonEnabled((Enum)UI.BTN_DRAW_LOW, graphicOptionType != 0); SetButtonEnabled((Enum)UI.BTN_DRAW_STANDARD, graphicOptionType != 1); SetButtonEnabled((Enum)UI.BTN_DRAW_HIGH, graphicOptionType != 2); SetButtonEnabled((Enum)UI.BTN_DRAW_HIGHEST, graphicOptionType != 3); SetButtonEnabled((Enum)UI.BTN_HEAD_NAME_ON, !GameSaveData.instance.headName); SetButtonEnabled((Enum)UI.BTN_HEAD_NAME_OFF, GameSaveData.instance.headName); SetButtonEnabled((Enum)UI.BTN_AUTO_ROTATION_ON, !GameSaveData.instance.enableLandscape); SetButtonEnabled((Enum)UI.BTN_AUTO_ROTATION_OFF, GameSaveData.instance.enableLandscape); SetButtonEnabled((Enum)UI.BTN_MINIMAP_ENEMY_ON, !GameSaveData.instance.enableMinimapEnemy); SetButtonEnabled((Enum)UI.BTN_MINIMAP_ENEMY_OFF, GameSaveData.instance.enableMinimapEnemy); SetButtonEnabled((Enum)UI.BTN_ARROW_CAMERA_A, arrowCameraType != 0); SetButtonEnabled((Enum)UI.BTN_ARROW_CAMERA_B, arrowCameraType != 1); base.UpdateUI(); }