<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rick1208</author_name>
  <author_url>https://blog.hatena.ne.jp/rick1208/</author_url>
  <blog_title>赤坂ギドウのプログラミング未経験でゲームを作る</blog_title>
  <blog_url>https://www.momino1234.com/</blog_url>
  <categories>
  </categories>
  <description>前回の記事 www.momino1234.com HPを作る HP表示用のUIを作る 名前を変える 文字を変える HP表示スクリプトを作る コードを書く UIにスクリプトを付ける 敵に当たったら減らす 敵に当たったらHPを減らす タグをつける 敵をクリック Tagを追加 新しいタグを作る 敵にタグをつける AssetsのEnemyのタグも変更 なぜTagを使うのか 再生 もしエラー表示がでたら HPを作る HPを画面に表示します。 一番簡単な方法は UI Textを使う方法です。 HP表示用のUIを作る Hierarchyで右クリック ↓ UI ↓ Text - TextMeshProをクリッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.momino1234.com%2Fentry%2F2026%2F03%2F08%2F172959&quot; title=&quot;【unity】プレイヤーHP（体力） を作って表示させて敵に当たったら減らす - 赤坂ギドウのプログラミング未経験でゲームを作る&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/r/rick1208/20260308/20260308133852.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-03-08 17:29:59</published>
  <title>【unity】プレイヤーHP（体力） を作って表示させて敵に当たったら減らす</title>
  <type>rich</type>
  <url>https://www.momino1234.com/entry/2026/03/08/172959</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
