<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kentem_dev_ko_hattori</author_name>
  <author_url>https://blog.hatena.ne.jp/kentem_dev_ko_hattori/</author_url>
  <blog_title>KENTEM TechBlog</blog_title>
  <blog_url>https://tech.kentem.jp/</blog_url>
  <categories>
    <anon>開発環境</anon>
    <anon>3D</anon>
  </categories>
  <description>前回の記事では「.cs.txt」という特殊なテキストファイルを用いたテンプレートの作成とメリット、デメリットの比較を行いました。 本記事では、クラスや名前空間の名前以外は動的に埋め込むことができないというデメリットを解消できるよう、Editor拡張を用いてテンプレートの作成を行った事例を紹介いたします。 Editor拡張の実装方法に関する記事はたくさんあります。 そのため本記事ではEditor拡張の使い方は最低限にとどめ、Editor拡張を用いてファイルの作成を行うときに便利になった点を中心に記載しています。 Editor拡張を行う方法 Editor拡張のためのファイルの作成 Editor拡張…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.kentem.jp%2Fentry%2F2025%2F09%2F12%2F090000&quot; title=&quot;【Unity6】スクリプトのテンプレートを自作する方法(2/2) - KENTEM TechBlog&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/k/kentem_dev_ko_hattori/20250904/20250904082530.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-12 09:00:00</published>
  <title>【Unity6】スクリプトのテンプレートを自作する方法(2/2)</title>
  <type>rich</type>
  <url>https://tech.kentem.jp/entry/2025/09/12/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
