ドキュメント

Unity Engine

Unity Engine

Tiled

The SpriteRenderer will render the sprite as a 9-slice image where the corners will remain constant and the other sections will tile.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Tiled = 2

Remarks

In this draw mode, the corners will remain unscaled while the other sections will be repeated instead of stretched. It uses the Sprite.border value to determine how each part (border and center) should be tiled.