Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WeirdBeardDev/de755f5d34287945d71f009b7ad35063 to your computer and use it in GitHub Desktop.
Save WeirdBeardDev/de755f5d34287945d71f009b7ad35063 to your computer and use it in GitHub Desktop.
A Unity script template for Editor scripts.
using UnityEngine;
using UnityEditor;
[InitializeOnLoad]
public static class #SCRIPTNAME#
{
#region Members
private const string DName = nameof(#SCRIPTNAME#); // Debug name
#endregion Members
#region Properties
#endregion Properties
#region Ctor
static #SCRIPTNAME#()
{
// insert ctor logic here
}
#endregion Ctor
#region Methods
#endregion Methods
#region Helpers
#endregion Helpers
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment