文档

Unity Engine


User Manual

Script Reference

Unity Engine


DataUtility

Helper utilities for accessing Sprite data.
阅读时间1 分钟最后更新于 1 个月前

Definition

public sealed class DataUtility

Static Methods

Method

Description

GetInnerUVInner UV's of the Sprite.
GetMinSizeMinimum width and height of the Sprite.
GetOuterUVOuter UV's of the Sprite.
GetPaddingReturn the padding on the sprite.