Version: 2020.3

GUIContent

class in UnityEngine

매뉴얼로 전환

설명

The contents of a GUI element.

This works closely in relation with GUIStyle. GUIContent defines what to render and GUIStyle defines how to render it.

See Also: GUIStyle.

정적 변수

noneShorthand for empty content.

변수

imageThe icon image contained.
textThe text contained.
tooltipThe tooltip of this element.

생성자

GUIContentConstructor for GUIContent in all shapes and sizes.