This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
namespace #PROJECT_NAME##FILE_PATH# { | |
public class #SCRIPTNAME# : MonoBehaviour { | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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#"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEngine; | |
namespace Utils | |
{ | |
public class CustomDefineEditor : EditorWindow | |
{ | |
private string[] defines = |