타일 은 타일맵 에 배열되어 2D 환경을 구성하는 에셋 입니다.각 타일은 선택한 스프라이트 를 참조하며, 타일맵 그리드의 타일 위치에 렌더링됩니다.타일에 사용할 스프라이트를 준비하고 임포트하는 방법과 에디터에서 에셋을 생성하는 여러 가지 방법에 대해서는 타일 생성 문서를 참조하십시오.
프로퍼티 | 기능 |
---|---|
Preview | 선택한 타일의 시각적 미리보기를 표시합니다. |
Sprite | 이 타일에 렌더링될 스프라이트를 선택합니다. 오른쪽의 원형 아이콘을 클릭하여 오브젝트 피커 창을 열고 사용 가능한 스프라이트 에셋 중에서 선택하거나, 스프라이트를 이 상자로 직접 드래그할 수 있습니다. |
Color | 선택한 컬러로 이 타일의 스프라이트를 채색합니다. 흰색으로 설정하면 스프라이트가 색조 없이 렌더링됩니다. |
Collider Type | 타일을 위해 생성된 콜라이더의 모양을 정의합니다. |
None | 콜라이더가 생성되지 않습니다. |
Sprite | Sprite’s 아웃라인에 기반하여 콜라이더 모양이 생성됩니다. |
Grid | 콜라이더 모양이 Tilemap 의 셀에 기반합니다.셀의 모양은 타일맵의 셀 레이아웃에 따라 달라집니다. |
타일 에셋 의 프로퍼티에서 설정된 콜라이더 타입은 타일맵의 각 타일에 대한 콜라이더 모양의 생성에 영향을 줍니다. 컴포넌트의 모양 생성 동작은 다음과 같은 방식의 콜라이더 타입 에 해당합니다.
콜라이더 타입 | 기능 |
---|---|
None | Tilemap Collider 2D 컴포넌트는 이 타일에 대한 콜라이더 모양을 생성하지 않습니다. |
Sprite | Tilemap Collider 2D 컴포넌트는 타일에 할당된 스프라이트에 기반하여 콜라이더 모양을 생성합니다.콜라이더 모양은 스프라이트에 설정된 커스텀 물리 모양에 기반합니다. |
Grid | Tilemap Collider 2D 컴포넌트는 선택한 Grid 컴포넌트의 셀 레이아웃에 의해 결정되는 그리드 셀의 모양에 기반하여 콜라이더 모양을 생성합니다. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.