<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kan_kikuchi</author_name>
  <author_url>https://blog.hatena.ne.jp/kan_kikuchi/</author_url>
  <blog_title>(:3[kanのメモ帳]</blog_title>
  <blog_url>https://kan-kikuchi.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>NGUI</anon>
  </categories>
  <description>NGUIでボタン機能を実装するUIButtonですが、シーンの移動中など、 押せてはいけない場面というのが多々あります。 今までは〇〇ButtonManagerみたいなのに管理させていたのですが、 各ボタン自身が自分が押せるかどうかを判定したら楽じゃね？と思いやってみたら 予想以上に楽だったのでご紹介。 押せるかどうかの判定だけでなく、押した時の色やらのボタン設定もやるようにしました。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkan-kikuchi.hatenablog.com%2Fentry%2FUIButtonAssistant&quot; title=&quot;UIButtonの設定と押せるかの判定を行う補助クラス【Unity】【NGUI】 - (:3[kanのメモ帳]&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/k/kan_kikuchi/20150306/20150306080510.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-03-16 07:58:29</published>
  <title>UIButtonの設定と押せるかの判定を行う補助クラス【Unity】【NGUI】</title>
  <type>rich</type>
  <url>https://kan-kikuchi.hatenablog.com/entry/UIButtonAssistant</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
