<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>EveryDayIsAGoodDay</author_name>
  <author_url>https://blog.hatena.ne.jp/EveryDayIsAGoodDay/</author_url>
  <blog_title>日々是好日～every day is a good day～</blog_title>
  <blog_url>https://everydayisagoodday.hatenadiary.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>これまで作ってきたゲームはすべてカメラが固定されていてカメラの視界を外れると見えなくなってしまいました 今回はプレーヤーが移動するとそれを追従してカメラも移動させる方法です やり方は１つではありませんが今回はプログラム無しでできる方法を紹介します 1.ウィンドウ/パッケージマネージャーを選択 2.パッケージ横の▼をクリックしUnityレジストリを選択 3.Cinemachineを選択してインストールをクリック 4.インストールが終わったらゲームオブジェクト/Cinemachine/2D Cameraを選択 5.ヒエラルキーにCM vcam1が作成されるのでMain Cameraの子オブジェクト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feverydayisagoodday.hatenadiary.com%2Fentry%2F2023%2F08%2F17%2F101225&quot; title=&quot;【Unity】プレーヤーを追従するカメラ - 日々是好日～every day is a good day～&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/E/EveryDayIsAGoodDay/20230807/20230807150003.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-08-17 10:12:25</published>
  <title>【Unity】プレーヤーを追従するカメラ</title>
  <type>rich</type>
  <url>https://everydayisagoodday.hatenadiary.com/entry/2023/08/17/101225</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
