<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tsubaki_t1</author_name>
  <author_url>https://blog.hatena.ne.jp/tsubaki_t1/</author_url>
  <blog_title>テラシュールブログ</blog_title>
  <blog_url>https://tsubakit1.hateblo.jp/</blog_url>
  <categories>
    <anon>カメラ</anon>
    <anon>Unity</anon>
  </categories>
  <description>カメラワークの続き。今回は二人のキャラクターが必ずカメラ内に収まるようにカメラの描画範囲を広げる、スマブラで見たアレを…作った過程を紹介します。 当初、単純に2点の距離からカメラの描画範囲（camera.orthographicSize)を出していましたが、これは間違っていました。 ので、ちゃんと考えます。「2点のキャラクタが両方とも画面が居に行かない」をレターボックス（テクスチャのサイズに合わせて画面の描画範囲やアスペクト比を設定する）と同じような考えが通用しそうなので、そのアプローチで行きます。 tsubakit1.hateblo.jp camera.orthographicSizeは高さ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsubakit1.hateblo.jp%2Fentry%2F2015%2F09%2F30%2F040121&quot; title=&quot;【Unity】距離に応じて2Dカメラを拡大・縮小する処理 - テラシュールブログ&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/t/tsubaki_t1/20150930/20150930012742.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-30 04:01:21</published>
  <title>【Unity】距離に応じて2Dカメラを拡大・縮小する処理</title>
  <type>rich</type>
  <url>https://tsubakit1.hateblo.jp/entry/2015/09/30/040121</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
