-
Notifications
You must be signed in to change notification settings - Fork 855
Fixing ordering of UI Frame settings [Fogbugz 1315452] #3628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing ordering of UI Frame settings [Fogbugz 1315452] #3628
Conversation
Ignoring enums that are tagged as obsolete.
b89f5e1
to
13d36e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good and is very complete since we also make sure FrameSettingsFieldAttribute have the correct displayedName field.
Besides the comment about static dictionary reuse, since we are adding a static constructor, this sharing from the DOTS team may be of interest (https://unity.slack.com/archives/CE7DZN2H1/p1592525582345000).
...der-pipelines.high-definition/Editor/RenderPipeline/Settings/OverridableFrameSettingsArea.cs
Outdated
Show resolved
Hide resolved
Please add a changelog |
Changelog added |
ecaee73
to
855a977
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested that the refraction frame settings worked and had the proper behavior (i.e fallback to opaque for every material that has a refraction flag)
Purpose of this PR
https://fogbugz.unity3d.com/f/cases/1315452/
Fixing order of settings in the UI. Orders were a bit messed on on the attribute. This attribute is safe to modify since its entirely used for UI purposes.
Testing status
Checked ordering is as expected, and enum Refraction isn't hidden anymore.