All posts by thrikreen

Automated Help

Code sample for a Unity3D help system. While you could use Unity3D’s built-in HelpURL attribute like so:

It could make management annoying since you have to hand edit every page, or if you change your intranet around, having to update every class. My system tries to automate the URL creation based on the class name.

So just add the class part to your script template, perhaps encapsulate it within a #if UNITY_EDITOR, and you can ignore it from there.

Then just bring up the component’s context menu (the gear icon on the upper right corner) and you’ll see a handy “Help” menu option!