Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
スクリプトを使用してボタンの状態を設定するにはどうすればよいですか?
例:
button.Hover == true;
button.SetState(UIButtonColor.State.Hover, bool);
bool は、カラー アニメーションをスキップするかどうかを制御します。真のスキップ。
編集: button.state = UIButtonColor.State.Hover;bool = false で SetState を自動的に呼び出します。
button.state = UIButtonColor.State.Hover;