Version: 2023.2
언어: 한국어
Tilemap Renderer component reference
Tile Palette Brush Picks overlay reference

Tile asset reference

Tiles are Assets that are arranged on Tilemaps to construct a 2D environment. Each Tile references a selected Sprite, which is then rendered at the Tile’s location on the Tilemap Grid. Refer to Creating Tiles for more information about preparing and importing sprites for your Tiles, and the different methods for creating the Assets in the Editor.

타일 에셋 아이콘
타일 에셋 아이콘

에셋 프로퍼티

인스펙터 창
인스펙터 창
프로퍼티 기능
Preview 선택한 타일의 시각적 미리보기를 표시합니다.
Sprite 이 타일에 렌더링될 스프라이트를 선택합니다. 오른쪽의 원형 아이콘을 클릭하여 오브젝트 피커 창을 열고 사용 가능한 스프라이트 에셋 중에서 선택하거나, 스프라이트를 이 상자로 직접 드래그할 수 있습니다.
Color 선택한 컬러로 이 타일의 스프라이트를 채색합니다. 흰색으로 설정하면 스프라이트가 색조 없이 렌더링됩니다.
Collider Type 타일을 위해 생성된 콜라이더의 모양을 정의합니다.
    None 콜라이더가 생성되지 않습니다.
    Sprite The Collider shape is generated based on the selected Sprite’s outline.
    Grid The Collider shape is based on a cell of the Tilemap. The shape of a cell depends on the Cell Layout of the Tilemap.

콜라이더 타입이 콜라이더 생성에 미치는 영향

The Collider Type set in the Tile Asset’s properties affects the generation of Collider shapes for each Tile in the Tilemap. The component’s shape generation behavior corresponds to the Collider Types in the following ways:

콜라이더 타입 기능
없음 Tilemap Collider 2D 컴포넌트는 이 타일에 대한 콜라이더 모양을 생성하지 않습니다.
Sprite The Tilemap Collider 2D component generates a Collider shape based on the Sprite assigned to the Tile. The Collider shape is based on the Custom Physics Shape set for the Sprite.
Grid Tilemap Collider 2D 컴포넌트는 선택한 Grid 컴포넌트의 셀 레이아웃에 의해 결정되는 그리드 셀의 모양에 기반하여 콜라이더 모양을 생성합니다.

  • 2020.1에서 페이지 콘텐츠 및 스크린샷 업데이트됨 NewIn20201
  • 2017.2에서 타일맵 추가됨NewIn20172
Tilemap Renderer component reference
Tile Palette Brush Picks overlay reference
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961