Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


width

The width of the icon in pixels.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public int width { get; }

Remarks

The actual texture can be of any size and will be automatically upscaled or downscaled when building the Unity project.