0
0

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 2022-04-25

2022.4.25 8日目 暑い!!!

ボタンを押せないようにする

GetComponent<Button>().interactable = false;

この一文を追加するだけでいいようです。

今日は仕事で言われたことをメモしておきます。
・ミッション等を作成するときはIDは1から
・Flag処理は最初にぶち当たる壁だから気を付ける意識する

以上です。今日は短いですがこの辺で。
(コメントありがとうございます!仕事終わりは忙しいので、休日に実際に実装して自分の物にします!)

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?