<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TAKOYAKING</author_name>
  <author_url>https://blog.hatena.ne.jp/TAKOYAKING/</author_url>
  <blog_title>TAKOYAKING’s blog</blog_title>
  <blog_url>https://takoyaking.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>Auto Puppet - プログラミングバトルTatsuya Nakanoゲーム無料apps.apple.comAutoPuppetを作っているときにAddComponentをしている部分があるのですが、AddComponentをしたScriptとAddComponentで加えたScriptのライフサイクルを少し勘違いしていて、ハマったので備忘録がてらにまとめておきます。 現象 public class Main : MonoBehaviour { void Awake () { gameObject.AddComponent&lt;Foo&gt;(); } void FixedUpdate () { …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakoyaking.hatenablog.com%2Fentry%2F2019%2F12%2F28%2F180000&quot; title=&quot;Unity: AddComponentしたらStartとFixedUpdateで呼び出し順でハマった (備忘録) - TAKOYAKING’s blog&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.image.st-hatena.com/image/scale/bc41ddf20c2f0bdd9385522f21e5ff0c3bc081e6/enlarge=0;height=200;version=1;width=200/https%3A%2F%2Fis5-ssl.mzstatic.com%2Fimage%2Fthumb%2FPurple128%2Fv4%2F01%2F45%2F59%2F0145598f-a8db-c07c-4dfb-216c22f9b218%2Fsource%2F100x100bb.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-28 18:00:00</published>
  <title>Unity: AddComponentしたらStartとFixedUpdateで呼び出し順でハマった (備忘録)</title>
  <type>rich</type>
  <url>https://takoyaking.hatenablog.com/entry/2019/12/28/180000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
