<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hildsoft</author_name>
  <author_url>https://blog.hatena.ne.jp/hildsoft/</author_url>
  <blog_title>hildsoftのコード置き場</blog_title>
  <blog_url>https://code.hildsoft.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>C#</anon>
    <anon>プログラム</anon>
  </categories>
  <description>Unityでクリックした座標を取得する 検証環境 Unity:5.6.1f1 Inputクラス InputクラスのStaticメソッドやフィールドを使うことで、入力系の処理を知ることができます。 座標の取得 マウスの座標はInput.mousePositionで参照できます。 Vector3 mousePosition = Input.mousePosition; Input.mousePositionは常に更新されているので、クリックしたときだけ処理をしたい場合は条件を加える必要があります。 座標の始点 座標は左下が原点で、右方向がX軸のプラス、上方向がY軸のマイナスになります。 マウスの状…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcode.hildsoft.com%2Fentry%2F2017%2F06%2F21%2F144211&quot; title=&quot;Unityでクリックした座標を取得する - hildsoftのコード置き場&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/h/hildsoft/20170621/20170621144006.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-06-21 14:42:11</published>
  <title>Unityでクリックした座標を取得する</title>
  <type>rich</type>
  <url>https://code.hildsoft.com/entry/2017/06/21/144211</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
