LoginSignup
5
2

More than 5 years have passed since last update.

Unityで矩形を追加

Last updated at Posted at 2018-04-08

はじめに

Unityプロジェクト内に仮のSpriteを取り敢えず配置したいけど画像を用意する程でも無い場合にUnity Editorで矩形を追加する方法を説明します。
(自分が追加方法をすぐ忘れるのでメモ…)

矩形の追加

メニューの [Asset] - [Create] - [Sprites] から追加したいSpriteの種類(Squareなど)を選択します。

Sprite

選択するとProjectビューにSpriteが追加されます。
(下の画像はSpritesフォルダ内に追加)

Square

Inspectorビューで任意の設定を行います。(仮に配置するだけなので、基本はデフォルト設定でOK)

後はSceneに配置し色なりサイズなり変更して使用します。

Sprites

左から Square Triangle Diamond Hexagon Circle Polygon

おわり

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2