<?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>uGUI</anon>
  </categories>
  <description>この記事でのバージョン Unity 5.3.4f1 Personal はじめに ボタンなどを押さなかった時のタッチイベントを処理したいって場合ありますよね。 例えば、画面をタップした時にシーンを移動したいけど、ボタンを押した時は違う処理をしてシーンの移動はしたくない、みたいな時とかです。 イメージとしては以下のような感じ。 ちなみに、NGUIだとfallThroughを使う事で簡単に実現できます。 残念ながらuGUIにはfallThroughのようなものはありません。なので、UIの一番後ろにタッチイベントを取得するオブジェクトを配置し、他のUIに触れなかった時のイベントを受け取とる事で、uGU…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkan-kikuchi.hatenablog.com%2Fentry%2FuGUI_TouchEventHandler&quot; title=&quot;ボタンなどを押さなかった時のタッチイベントを取得する【Unity】【uGUI】 - (: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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kan_kikuchi/20160622/20160622133949.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-06-27 08:07:09</published>
  <title>ボタンなどを押さなかった時のタッチイベントを取得する【Unity】【uGUI】</title>
  <type>rich</type>
  <url>https://kan-kikuchi.hatenablog.com/entry/uGUI_TouchEventHandler</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
