텍스처를 Assets 폴더에 추가하여 아이소메트릭 타일맵을 위한 개별 타일이나 타일시트 이미지를 Unity 프로젝트로 임포트합니다.임포트한 이미지의 텍스처 임포터 설정을 확인하려면 인스펙터 창에서 해당 이미지를 선택합니다.
아이소메트릭 타일맵에서 사용할 스프라이트를 임포트할 때에는 다음 권장 설정을 사용하십시오.각 설정에 대한 자세한 내용은 텍스처 타입:스프라이트(2D 및 UI)에 관한 문서를 참조하십시오.
아래 예시에서 임포트한 스프라이트는 256x128 이미지이며, 아이소메트릭 타일맵의 Cell Size는Unity 단위(XYZ: 1, 0.5, 1)입니다.스프라이트가 타일맵의 셀 1개에 완벽하게 맞도록 하려면 스프라이트의 PPU 값을 256으로 설정합니다.그러면 전체 너비는 단일 셀의 너비(X 값: 1)와 동일한하나의 Unity 단위에 해당합니다.
스프라이트의 PPU 값이 128로 설정되면 너비가 Unity 단위로 2(256픽셀/128)가 됩니다. 그러면 타일맵에 페인팅된 스프라이트가 너비 기준으로 셀 2개를 차지하는 것으로 보이게 됩니다. 하지만 타일의 원래 셀 포지션은 변경되지 않습니다.
스프라이트가 임포트된 후, 각 스프라이트에 대해 스프라이트 에디터를 열고 스프라이트의 아웃라인을 편집하여 스프라이트의 아웃라인을 다듬으십시오.아이소메트릭 타일맵의 스프라이트의 경우, 스프라이트의 Pivot을 ‘지면’이 스프라이트에 비례하도록 설정해야 합니다.
Sprite Mode가 Multiple로 설정된 상태에서 텍스처가 임포트되었고 여러 스프라이트가 포함된 경우, 스프라이트 에디터에서 각 스프라이트의 아웃라인을 편집하십시오.
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.