기술 자료

Unity Engine

Unity Engine

SetIconSize(Vector2)

Set icons rendered as part of GUIContent to be rendered at a specific size.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void SetIconSize(Vector2 size)

Parameters

Remarks

Set the size to Vector2.zero to use the default behaviour where the size is determined by the available space.
Additional Resources: EditorGUIUtility.GetIconSize.