文档

Unity Engine

Unity Engine

width

The width of the icon in pixels.
阅读时间1 分钟最后更新于 2 天前

Definition

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.