Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

Sprite.texture

Cambiar al Manual
public Texture2D texture;

Descripción

Get the reference to the used texture. If packed this will point to the atlas, if not packed will point to the source sprite.