Version: 2022.3
言語: 日本語
Sprite Renderer
Sprite エディター

Sprite Creator

With this tool you can create temporary placeholder sprite (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 > 2D > Sprite and then select the placeholder sprite you want to make (square, circle, capsule, isometric diamond, hexagon flat-top, hexagon pointed-top, 9-sliced).

Using the Sprite

新規の白い仮spriteが、現在開いているアセットフォルダーに作成されます。新しいスプライトは、デフォルトでその形状が名称になっていますが、最初にspriteを作成するときのオプションでリネームできます。何と命名するのがよいか判らない場合は、デフォルトのままにしてください。クリックすれば、後からでも変更することが可能です。

新規のスプライトに名前を付けます(デフォルトの名前のままでも構いません)
新規のスプライトに名前を付けます(デフォルトの名前のままでも構いません)

You can drag and drop your placeholder sprite into the Scene View or Hierarchy to start using it in your project.

仮spriteをシーンニューにドラッグ&ドロップする
仮spriteをシーンニューにドラッグ&ドロップする

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 Inspector.

インスペクター ツールの Sprite Renderer コンポーネントからスプライトを変更する
インスペクター ツールの Sprite Renderer コンポーネントからスプライトを変更する

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 セレクター
sprite セレクター

詳細

  • Sprite Creator は 4x4 の白色 PNG アウトライン テクスチャを作成します。
  • 仮 Sprite は、アルゴリズムによって生成される完全でプリミティブなポリゴン(例:三角形、六角形、n角形)です。
  • (注) 仮 Sprite は 3D プリミティブとは異なります。Sprite はひとつひとつがアセットであり、多角形のポリゴンとしてさまざまな形を表現することができます。したがって仮 Sprite は 3D プリミティブとは構造が異なっています。
Sprite Renderer
Sprite エディター
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961