LoginSignup
29
27

More than 5 years have passed since last update.

NGUIで手軽に円形のゲージ(プログレスバー)を表示する

Last updated at Posted at 2014-07-30

円形の画像を作成してNGUIのスプライトとして画面に配置

kobito.1406726611.640327.png

スプライトのプロパティを以下のように変更

kobito.1406726642.769400.png

  • Type を Filled に
  • Fill Dir を Radial360 に

これだけ、
インジケーターとして使用するには FillAmount をスクリプトから変更したらおk

たとえば、0.3 という値に設定すれば、以下のように 30% の部分まで描画される。

kobito.1406726807.089845.png

29
27
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
29
27