LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

DataUtility.GetMinSize

public static Vector2 GetMinSize(Sprite sprite);

Description

Minimum width and height of the Sprite.