1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Unityで画像を丸く切り抜いて枠をつける方法

Last updated at Posted at 2019-05-07

Unityで画像を丸く切り抜いて枠をつける方法

丸くしたい対象がSpriteだとします。
そのSpriteの親オブジェクトにSprite Maskとして円形の画像を配置して子のSpriteを丸くします。

これだけだとフチがギザギザしてしまうので、枠のために輪っか状のpng画像を用意して、Sprite MaskをつけたオブジェクトにSpriteとして輪っか状のpng画像を配置します。

参考になれば幸いです。

終わりに

私は現在、Web3のサービスの開発をしています。詳しくはこちらの記事をご覧下さい。
無料でイーサリアムが当たる、Web3時代の寄付サイトを作った話

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?