Set scaleFactor to UI scale setting for modded effect UIs. #3967
Replies: 6 comments 3 replies
-
Please, this would be amazing π•π |
Beta Was this translation helpful? Give feedback.
-
Good too imo |
Beta Was this translation helpful? Give feedback.
-
@SDGNelson since you're doing UI changes next update any chance you could reconsider adding this? It makes it possible for us to line up UI elements in custom UI's with vanilla UI. Currently, there's not really a catch-all way to do this. |
Beta Was this translation helpful? Give feedback.
-
Would be nice for some feedback on this @SDGNelson |
Beta Was this translation helpful? Give feedback.
-
@SDGNelson sorry to bug you so much here but this would really improve modded UIs in the mean time, I know it seems small but right now there's no way to 'snap' UIs to vanilla UIs (status icons, etc.) because of scaling, and the automated scaling modes in Unity kinda suck compared to this. This is like a 5 minute change with no public API changes and would drastically improve the quality and add some more possibilities with modded UI. There's really no reason it has to update automatically when the setting is changed either. You really don't even need to add an asset field since as far as I know no one actually uses ConstantPixelSize for scaling anyway. Would at least be nice to know why you don't want to add it. - thanks |
Beta Was this translation helpful? Give feedback.
-
Automatically change the
Canvas Scaler
's scale based on the user's UI scale setting.All this would need a few lines in createUIEffect and a new asset field:
Beta Was this translation helpful? Give feedback.
All reactions