Skip to content

Instantly share code, notes, and snippets.

@daltonbr
Last active November 29, 2019 10:32
Show Gist options
  • Save daltonbr/24bbd5304f06209075d7fae423054f00 to your computer and use it in GitHub Desktop.
Save daltonbr/24bbd5304f06209075d7fae423054f00 to your computer and use it in GitHub Desktop.
My version of the Template for Unity C# MonoBehaviour, on Mac replace it in /Applications/Unity/Hub/Editor/<UnityVersion>/Unity.app/Contents/Resources/ScriptTemplates/81-C# Script-NewBehaviourScript.cs.txt
using UnityEngine;
#if UNITY_EDITOR
using UnityEngine.Assertions;
#endif
public class #SCRIPTNAME# : MonoBehaviour
{
#region Public Fields
#endregion
#region Unity Methods
private void Awake()
{
#NOTRIM#
#if UNITY_EDITOR
#endif
}
#endregion
#region Private Methods
#endregion
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment