Version: 2020.1
Sprite Editor:Custom Outline
Sprite Editor:Secondary Textures

Sprite Editor:Custom Physics Shape

概述

Sprite Editor 的 Custom Physics Shape 用于编辑精灵的物理形状;物理形状定义了精灵 2D 碰撞体网格 (Collider 2D Mesh) 的初始形状。可以通过碰撞体的组件设置进一步优化物理形状。

要编辑精灵的物理形状,请执行以下操作:

  1. 在 Project 窗口中,选择要更改的精灵。

  2. 在 Inspector 窗口中,单击 Sprite Editor 按钮。

  3. 在 Sprite Editor 窗口中,选择左上角的下拉菜单,然后选择 Custom Physics Shape

编辑 Custom Physics Shape
编辑 Custom Physics Shape