Version: 2019.4
Sprite Renderer
Sprite Editor

Sprite Creator

With this tool you can create temporary placeholder spriteA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary
(2D) graphics. You can use these in your project during development and then replace them with the graphics you want to use.

Accessing the Sprite Creator

Select Assets>Create>Sprites and then select the placeholder sprite you want to make (square, triangle, diamond, hexagon, or polygon).

Accessing the Sprite Creator
Accessing the Sprite Creator

Using the Sprite

Your new placeholder sprite appears as a white shape in the asset folder you currently have open. The new sprite’s name defaults to its shape name but you have the option to rename your sprite when it is first created. If you are not sure what you want to call it, leave it as the default; you can change it later by clicking on it.

Name your new sprite (or leave it to default)
Name your new sprite (or leave it to default)

You can drag and drop your placeholder sprite into the Scene ViewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
See in Glossary
or Hierarchy to start using it in your project.

Drag and drop your placeholder sprite into Scene View
Drag and drop your placeholder sprite into Scene View

Replacing your Placeholder Sprite

To change your placeholder sprite, click on it in the Scene View and then edit via the Sprite Renderer Component in the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
.

Replace your sprite via the Sprite Renderer Component in the Inspector tool
Replace your sprite via the Sprite Renderer Component in the Inspector tool

Edit the Sprite field: You can click on the small circle to the right of the input field to bring up the Sprite Selector where you can browse and select from a menu of available 2D graphic assets.

Sprite Selector
Sprite Selector

Details

  • The Sprite Creator makes 4x4 white PNG outline textures.
  • The placeholder sprites are perfect primitive polygons (e.g. triangle, hexagon, n-sided polygon), generated by algorithm.
  • NOTE: Placeholder sprites are not like 3D primitives: A sprite is an asset, and as a many-sided polygon, may represent many different shapes, so placeholder sprites are not built like 3D primitives.
Sprite Renderer
Sprite Editor
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961