DocFx & Unity with GitLab CI/CD

I recently set up one of my Unity projects to use DocFx this was an interesting endeavour, getting DocFx to work offline was relatively easy with a few modifications to the normal templates. Getting it running on GitLab CI/CD was somewhat trickier.

VsCode & Vs 2017 Extensions

An ever changing list of Extensions I find useful for VsCode and Visual Studio 2017. This is for a variety of languages though mainly for work flow improvements and fixes.

Updating Spinnacle to Unity 17.4 LTS

Updating my old project Spinnacle to Unity 2017.4 LTS from Unity 5.5.0f3 was a lot less painful than other project updates to 5.5.

Android Auto Rotate in Unity

Unity ignores Android’s auto-rotate settings which determine if an app should be able to auto-rotate and change orientation between; Portrait, LandscapeLeft, etc. If your game doesn’t auto-rotate between these settings then it doesn’t matter however, if it does this can really annoy users.

Checking for Android Tv in Unity

Usually if your making a game for AndroidTv it can be handy to detect at runtime when your connected to an AndroidTv or FireTv and change your controls.

Unity Property Drawers, Scene & Enum

Unity PropertyDrawers are incredibly useful they allow you to separate editor Ui extensions into reusable code. If you aren’t using property drawers or editor scripts you are missing out on a major benefit of Unity.

Git Commands From Unity

For most of my projects I use git for version control, sometimes I use custom scripts to version my builds so they include the current commit hash. To do this in Unity I use the .Net Process class in an editor script to launch the git command.

Unity IPreprocessBuild & IPostprocessBuild

In Unity you will find yourself wanting to do some process before you build a game, whether it be Asset Bundles, moving platform specific assets to Streaming Assets or just ensuring the build version information is up to date.

Dear ImGui & DirectX 11

What is it? ​Dear ImGui is an immediate GUI, this mean it is updated every frame and maintains no state information. Meaning it is very easy to drop into a rendering pipeline. Which makes it ideal for development tools, especially when you take into account its expansive collection of functions.