<rss version="2.0">
  <channel>
    <title>Blog</title>
    <link>http://redwyre.com/blog</link>
    <description><![CDATA[]]></description>
    <item>
      <title>UnityTemplates Visual Studio Extension</title>
      <link>http://redwyre.com/blog/unitytemplates-visual-studio-extension</link>
      <description><![CDATA[<p>I have been working on a DOTS-first project for a couple of months (more on that later), and found myself wanting templates to help with creating the same types of files repeatedly. I created some local templates, and then a few months later Rider announced their new Unity tooling, so I decided to email the team that works on "Visual Studio Tools for Unity" however they didn't have any current plans for updates so I decided to package up what I've done any maybe replicate some of the functionality that Rider has.</p>
<p>I have release the project as open source, which can be found on github: <a href="https://github.com/redwyre/UnityTemplates">https://github.com/redwyre/UnityTemplates</a>
Also, the template can be found here: <a href="https://marketplace.visualstudio.com/items?itemName=redwyre.UnityTemplates">https://marketplace.visualstudio.com/items?itemName=redwyre.UnityTemplates</a> or by searching redwyre.UnityTemplates in the extension manager.</p>
<p>To access the templates, add a new file to your project, and look under the Unity subfolder on the left
<img src="/media/Projects/UnityTemplates/Screenshot 2023-07-15 082644.png"></p>
<p>The currently available template are:</p>
<p>General:</p>
<ul>
<li>MonoBehaviour</li>
<li>ScriptableObject</li>
</ul>
<p>DOTS/ECS:</p>
<ul>
<li>Aspect</li>
<li>Authoring Component</li>
<li>IBufferElementData</li>
<li>ICleanupComponentData</li>
<li>IComponentData (unmanaged and managed)</li>
<li>IEnableableComponent</li>
<li>ISharedComponentData</li>
<li>ISystem</li>
<li>SystemBase</li>
</ul>
<p>I did have a template that created a component+system+authoring however I'm not sure it's really that useful so I've left it out for now.</p>
<p>I have started looking at how to create code refactorings but it is incredibly complex so I might leave that for now, or until I can find some good tutorials on writing them.</p>
]]></description>
      <pubDate>Sat, 15 Jul 2023 17:49:10 GMT</pubDate>
      <guid isPermaLink="true">http://redwyre.com/blog/unitytemplates-visual-studio-extension</guid>
    </item>
    <item>
      <title>Blog v2</title>
      <link>http://redwyre.com/blog/blog-v2</link>
      <description><![CDATA[<p>I decided I wanted to self-host my blog and decided to update from the old Orchard to Orchard Core. This was a very painful process as there is no current way to import an old site. It's now running in docker on my NAS which should be enough for the few visitors I get.</p>
<p>Previously the blog was hosted in Azure and a lot of the requests I was seeing were probes for exploits. I've put Cloudflare in front of it now to try and reduce the spam requests, and have a secure pipe from the container on my NAS to Cloudflare itself so I don't have to expose anything from my home network.</p>
]]></description>
      <pubDate>Fri, 02 Jun 2023 17:34:39 GMT</pubDate>
      <guid isPermaLink="true">http://redwyre.com/blog/blog-v2</guid>
    </item>
  </channel>
</rss>