Unity/UnityEditor
[Unity/UnityEditor] Handles.Label Background
sorry0101
2024. 7. 16. 12:31
GUIStyle style = new GUIStyle();
style.normal = new GUIStyleState();
style.normal.background = Texture2D.whiteTexture;
Handles.Label(pos, "text", style);
참고
[1] https://discussions.unity.com/t/can-i-set-a-solid-background-for-a-gui-label/217763/3
[2] https://docs.unity3d.com/ScriptReference/GUIStyleState.html