文档

Unity Engine


User Manual

Script Reference

Unity Engine


IconSizeScope(Vector2)

Begin an IconSizeScope.
阅读时间1 分钟最后更新于 1 个月前

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.