UNITY精细学习1

素材整理

Edit -> preferences -> Scene View(基础)

1.素材调整

transform窗口:

​ scale 调整大小(锁定:固定比例)

2.点击素材

​ Pixies Per Unit 每个格中的像素

​ Filter Mode 像素游戏选择(Point Confiter)

​ Compression 压缩(None 无压缩)

​ Sprit Mode 合集:Multiple

3.切割素材 Apply应用

Slice type Grid By Cell Count 按比例切割

​ Pivot 锚点 素材的初始定位原点。

绘制场景

Window -> 2D -> Tile Palette 瓦片调色盘

增加瓦片地图 Hierarchy -> 2D Object -> Tile map -> Rectanglar

叠层 Sprite Render -> sorting Layer 下遮上

​ order in Layer 大遮下

​ 绘制时 + shift => 擦除

瓦片的快速绘制:资源库中创建 2D -> Tiles

​ 规则:Tiling Rules;Game Object; Colder; Output (出现方式:不变;随机;动态)

​ 动态:Animated Tiles

posted @ 2025-09-10 18:46  QixunQiu  阅读(9)  评论(0)    收藏  举报