디지털 양피지/Unity3D2015. 2. 16. 17:03

1. Sorting Layer

2D 게임에서는 Layer를 앞뒤로 배치하면서 게임을 만들수 있다.(Camera - Projection - Orthographic 이여야 함) 이렇게 만들면 실제 화면에서는 거리감이 없지만 제작 환경에서는 Z 축에 거리를 두어 쉽게 제작할 수 있다. Edit - Project Settings - Tags & Layers 에서 설정한다.


아래와 같이 Sorting Layer에 Layer를 설정한다.



이렇게 설정한 Sorting Layer는 Sprite Renderer에 Sorting Layer에서 설정할 수 있다.



'디지털 양피지 > Unity3D' 카테고리의 다른 글

Unity3D - Singleton 객체 만들기  (0) 2015.02.17
Unity3D - Gizmos 활용  (0) 2015.02.16
Unity3D - Animation & Mecanim  (0) 2015.02.13
Unity3D - Sprite(Sprite Editor)  (0) 2015.02.13
Unity - 최적화  (0) 2015.01.13
Posted by 빨간 양말