타일맵은 선택한 타일을 배치하는 게임 오브젝트입니다. GameObject > 2D Object > Tilemap 으로 이동하여 기본(직사각형) 타일맵 을 생성하십시오. 이 옵션이 없다면 2D Tilemap Editor 패키지가 설치되지 않았을 수 있습니다. 그런 경우 패키지 관리자에서 2D 타일맵 에디터 를 다운로드하십시오.
‘Tilemap’ 옵션을 선택하여 기본 직사각형 타일맵을 생성할 수 있습니다. 사용 방법 및 옵션에 대한 자세한 내용은 육각형 및 아이소메트릭 타일맵의 각 페이지를 참조하십시오.
Tilemap 옵션을 선택하면 씬에 새 그리드 게임 오브젝트가 자식 Tilemap 게임 오브젝트와 함께 생성됩니다. 그리드 게임 오브젝트는 자식 타일맵의 레이아웃을 결정합니다.
자식 타일맵은 Tilemap 컴포넌트와 Tilemap Renderer 컴포넌트로 구성되어 있습니다. 타일은 타일맵 게임 오브젝트에 페인팅됩니다.
그리드 게임 오브젝트나 타일맵 게임 오브젝트를 선택하여 타일맵을 더 만들고 GameObject > 2D Object > Tilemaps 메뉴로 이동하거나, 선택한 게임 오브젝트를 마우스 오른쪽 버튼으로 클릭하고 2D Object > Tilemap 으로 이동하여 다른 타일맵을 동일한 부모 그리드에 자식으로 추가합니다.
타일맵이 생성되면 Grid 프로퍼티를 조정하여 타일맵 자식의 프로퍼티(예: 자식 타일맵의 셀 크기, 레이아웃 타입)를 조정할 수 있습니다. 이는 타일맵 렌더러 및 타일맵 콜라이더 2D를 비롯하여 연결된 컴포넌트에 영향을 줍니다.
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.