<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>godhandevilleg</author_name>
  <author_url>https://blog.hatena.ne.jp/godhandevilleg/</author_url>
  <blog_title>Cz_mirror Game開発備忘録</blog_title>
  <blog_url>https://cz-mirror.hatenablog.com/</blog_url>
  <categories>
    <anon>RAYSER</anon>
  </categories>
  <description>RAYSERで自機から一定距離まで近づく敵キャラの動きを実装してみました。 敵の近づいてくる距離はエディターで制御できるようにしています。 敵から見た自機の位置と敵の位置の距離間をVector3.Distanceで取得し、その値を条件分岐で判定し、条件を満たす場合に移動をするようにしてみました。 using System.Collections;using System.Collections.Generic;using UnityEngine;namespace RAYSER.Scripts.Enemy{ public class EnemyMoveApproach : MonoBehavi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcz-mirror.hatenablog.com%2Fentry%2F2020%2F07%2F04%2F172514&quot; title=&quot;【RAYSER開発】自機から一定距離まで近づく敵キャラの動き - Cz_mirror Game開発備忘録&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-07-04 17:25:14</published>
  <title>【RAYSER開発】自機から一定距離まで近づく敵キャラの動き</title>
  <type>rich</type>
  <url>https://cz-mirror.hatenablog.com/entry/2020/07/04/172514</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
