Skip to content

Instantly share code, notes, and snippets.

View MewSoul's full-sized avatar

Mew MewSoul

View GitHub Profile
using UnityEngine;
namespace #PROJECT_NAME##FILE_PATH# {
public class #SCRIPTNAME# : MonoBehaviour {
}
}
using UnityEditor;
using UnityEngine;
namespace Utils {
public class ScriptTemplateModifier : UnityEditor.AssetModificationProcessor {
private const string SCRIPT_LOCATION = "Assets/Scripts/";
private const string PROJECT_NAME = "#PROJECT_NAME#";
private const string FILE_PATH = "#FILE_PATH#";
@MewSoul
MewSoul / CustomDefineEditor.cs
Created January 30, 2018 10:32
Extension to easily add/remove custom defines to specific build targets
using UnityEditor;
using UnityEngine;
namespace Utils
{
public class CustomDefineEditor : EditorWindow
{
private string[] defines =