<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syun77</author_name>
  <author_url>https://blog.hatena.ne.jp/syun77/</author_url>
  <blog_title>2dgames.jp</blog_title>
  <blog_url>https://2dgames.jp/</blog_url>
  <categories>
    <anon>Godot</anon>
  </categories>
  <description>この記事では、Nodeやスクリプトで定義したクラスの扱い方について解説します。 📌この記事はGodot3.xを基準に書いています Godot4.xに読み替える場合は、以下の置き換えを行います インスタンス生成の &quot;instance()&quot; を &quot;instantiate()&quot; にする &quot;onready&quot; を &quot;@onready&quot; にする 扱い方の3つのパターン このパターンの方法としては以下の3つが考えられます。 1. シーンにスクリプトをアタッチして、シーンとして生成する 2. スクリプトのみで Node を継承する 3. スクリプトのみで Node は継承しない No 説明 シーン Nodeの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2dgames.jp%2Fentry%2Fgodot-node-script-class%2F&quot; title=&quot;【Godot】Nodeやスクリプトのクラスを外部から扱う場合の使い分け方法 - 2dgames.jp&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/s/syun77/20250901/20250901001703.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-08 05:00:00</published>
  <title>【Godot】Nodeやスクリプトのクラスを外部から扱う場合の使い分け方法</title>
  <type>rich</type>
  <url>https://2dgames.jp/entry/godot-node-script-class/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
