Search Unity

How can I access the editor's UI Scaling value?

Discussion in 'Editor & General Support' started by MattRix, Apr 29, 2021.

  1. MattRix

    MattRix

    Joined:
    Aug 23, 2011
    Posts:
    121
    I need to draw some editor GUI stuff in a pixel perfect way, so I'd like to know the current UI scaling value. I'd also like to know how to detect whether the current editor supports UI scaling at all.