Tilemap

一、How to use tilemap?
可以利用tile來建立場景。

 

二、Rule tiles
在畫 tiles 時,tiles會遵循設定的規則,所以在畫時可以節省時間。
( From lesson 182 )

 

 一、
1. in the hierarchy, 右鍵-> 2D Object ->Tilemap.

2.Clikc "Create new palette" and Create a new palette.

3. drag your sprite into tile palette.

4. use those tites to paint the scene.

5. 快速鍵: 按住Shift時畫筆變成清除當"劃"下去時。

二、Rule tiles
Download and Use 2d-extras