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.

SpriteMeshType

enumeration

Description

Defines the type of mesh generated for a sprite.

Properties

FullRectRectangle mesh equal to the user specified sprite size.
TightTight mesh based on pixel alpha values. As many excess pixels are cropped as possible.