Version: 2022.2

EditorWindow.OnBackingScaleFactorChanged

切换到手册
protected void OnBackingScaleFactorChanged ();

描述

Called when the UI scaling for this EditorWindow is changed.

Use this method to refresh UI elements that have multiple resolutions.