Skip to content

Commit f734bcd

Browse files
committed
Removed the name field from the GraphicsPreset scriptable object and added a qualityLevel enumerator instead which can be cast to the name as well and is easier to use in the inspector
1 parent c5d61dd commit f734bcd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

UOP1_Project/Assets/Scripts/Systems/Settings/GraphicsPresets.asset

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ MonoBehaviour:
1313
m_Name: GraphicsPresets
1414
m_EditorClassIdentifier:
1515
presetList:
16-
- name: Low
16+
- qualityLevel: 0
1717
shadowQuality: 0
1818
anisotropicFiltering: 0
1919
antiAliasing: 0
2020
shadowDistance: 20
2121
custom: 0
22-
- name: Middle
22+
- qualityLevel: 1
2323
shadowQuality: 1
2424
anisotropicFiltering: 1
2525
antiAliasing: 2
2626
shadowDistance: 50
2727
custom: 0
28-
- name: High
28+
- qualityLevel: 2
2929
shadowQuality: 2
3030
anisotropicFiltering: 2
3131
antiAliasing: 8

0 commit comments

Comments
 (0)