<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Unity on Hiroyuki Abeの日記</title>
		<link>https://d.tflare.com/categories/unity/</link>
		<description>Recent content in Unity on Hiroyuki Abeの日記</description>
		<generator>Hugo</generator>
		<language>ja-jp</language>
		
		
		
			<copyright>Copyright (c) 2006 - 2026, Hiroyuki Abe</copyright>
		
		
			<lastBuildDate>Sat, 04 Jan 2020 10:00:00 +0900</lastBuildDate>
		
			<atom:link href="https://d.tflare.com/categories/unity/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Unity 2018.4.14f1でUnityの教科書 Unity2019完全対応版p55「Can&#39;t add script behaviour CallbackExecutor. The script needs to derive from MonoBehaviour!」の時の対処法</title>
				<link>https://d.tflare.com/2020/01/04/100000/</link>
				<pubDate>Sat, 04 Jan 2020 10:00:00 +0900</pubDate>
				<guid>https://d.tflare.com/2020/01/04/100000/</guid>
				<description>&lt;h1 id=&#34;unity-2018414f1でunityの教科書-unity2019完全対応版p55cant-add-script-behaviour-callbackexecutor-the-script-needs-to-derive-from-monobehaviourの時の対処法&#34;&gt;Unity 2018.4.14f1でUnityの教科書 Unity2019完全対応版p55「Can&amp;rsquo;t add script behaviour CallbackExecutor. The script needs to derive from MonoBehaviour!」の時の対処法&lt;/h1&gt;&#xA;&lt;p&gt;Unity 2018.4.14f1で&#xA;Unityの教科書 Unity2019完全対応版 2D&amp;amp;3Dスマートフォンゲーム入門講座　p55のスクリプトのアタッチをしてみたところ&lt;/p&gt;&#xA;&lt;p&gt;「Can&amp;rsquo;t add script behaviour CallbackExecutor. The script needs to derive from MonoBehaviour!」のエラーになる。&lt;br&gt;&#xA;原因を調べてみたところ、ファイル名はクラス名でなければならないためだった。&lt;br&gt;&#xA;ファイル名を「NewBehaviourScript」に戻すとアタッチできた。&lt;br&gt;&#xA;おそらくバージョンの違いによるものと思われる。（新バージョンでは自動でクラス名が変更される機能がついているのでは？）&lt;/p&gt;&#xA;&lt;p&gt;Unityは2020年1月4日現在 Windowsで2018.4.14f1がデフォルトダウンロードされる。&lt;br&gt;&#xA;これはLTS（2 年間のサポート期間）の最新版が2018.4系であるためと思われる。&lt;br&gt;&#xA;LTSはバージョンが「.4」で終わることで判別可能&lt;br&gt;&#xA;詳しくは以下リンク先に記載がある。&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://blogs.unity3d.com/jp/2018/04/09/new-plans-for-unity-releases-introducing-the-tech-and-long-term-support-lts-streams/&#34;&gt;Unity の新しいリリースプラン：TECH ストリームと長期サポート（LTS）ストリームの導入&lt;/a&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
