<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — How can I create my own script templates?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2267&amp;type=atom" />
	<updated>2024-04-30T19:51:53Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2267</id>
		<entry>
			<title type="html"><![CDATA[Re: How can I create my own script templates?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9508#p9508" />
			<content type="html"><![CDATA[<p>Hello.</p><p>In the current version, the list of script templates is hard-coded in ProjectCreateScript class.<br />So if you want to add your own template, you will need to modify this class.</p><p>P.S. Thank you for your question. In the next version I will try to add some easy way to have custom templates.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-04-30T19:51:53Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9508#p9508</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How can I create my own script templates?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9507#p9507" />
			<content type="html"><![CDATA[<p>Hello,</p><p>I wrongly assumed I could just add a script template to the ScriptTemplates folder in the UltimateEditorEnhancer and have it show up in the menu of script templates when I right-click on the new script icon.</p><p>It seems that if I put a template in that folder that is alphabetically before NewBehaviourScript it becomes the default template.</p><p>How can I have my own custom script templates available in the menu when I right-click on the new script icon?</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[bankaru]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=3117</uri>
			</author>
			<updated>2024-04-29T22:38:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9507#p9507</id>
		</entry>
</feed>
