Help us understand the problem. What is going on with this article?

uGUIのButtonでの色とかのメモ

More than 5 years have passed since last update.

環境

  • Unity 4.6.1(無料版)

Screen Shot 2015-02-05 at 12.58.00 PM.png

  • TransitionでColor Tintを選択
名前 メモ
Normal Color 普段の色
Highlighted Color Hover時の色(※)
Pressed Color Click Down時の色
Disabled Color ButtonがDisabled時の色

※ Highlighted Colorの注意点

  • 1度クリックすると、Highlighted状態になる
  • 他のところをクリックするとNormalに戻る

Disabled状態にする方法

button.interactable = false;
kanpe777
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away