Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IconSizeScope(Vector2)

Begin an IconSizeScope.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public IconSizeScope(Vector2 iconSizeWithinScope)

Parameters

iconSizeWithinScope

Size to be used for icons rendered as GUIContent within this scope.

Remarks

Additional Resources: EditorGUIUtility.SetIconSize.