Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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:
  1. Make sure the 2D Sprite package is installed in your project. For more information, refer to set up your project for 2D games.
  2. From the main menu, select
    GameObject

    ?

    >
    2D Object

    ?

    > Sprites.
  3. 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:
  1. Select the placeholder sprite.
  2. In the
    Inspector

    ?

    window, in the
    Sprite Renderer

    ?

    component, select the
    Sprite

    ?

    picker (⊙).
  3. Choose a sprite you imported.
For more information, refer to import sprites.

Additional resources