Add placeholder sprites
To quickly test sprites, create temporary placeholder sprites. A placeholder sprite is a simple white shape, for example a triangle, a square, or a capsule.
Read time 1 minuteLast updated 13 days ago
To quickly test sprites, create temporary placeholder sprites. A placeholder sprite is a simple white shape, for example a triangle, a square, or a capsule.
Follow these steps:
- Make sure the 2D Sprite package is installed in your project. For more information, refer to set up your project for 2D games.
- From the main menu, select >GameObject
?
> Sprites.2D Object?
- Select a sprite shape.
Unity creates a GameObject with a Sprite Renderer component that references a placeholder sprite shape.
For more information about the different placeholder sprite shapes, refer to Types of 2D primitive GameObjects.
Replace a placeholder sprite
You can't edit a placeholder sprite or its texture in the Sprite Editor. To replace the placeholder sprite with a sprite you imported, follow these steps:
- Select the placeholder sprite.
- In the window, in theInspector
?
component, select theSprite Renderer?
picker (⊙).Sprite?
- Choose a sprite you imported.
For more information, refer to import sprites.