Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SenshiSentou/66eb5557d8eda93822941fc3cdc1e9c0 to your computer and use it in GitHub Desktop.
Save SenshiSentou/66eb5557d8eda93822941fc3cdc1e9c0 to your computer and use it in GitHub Desktop.
Save this script in the following location as `82-Scriptable Object-NewScriptableObject.cs.txt`: Windows: C:\Program Files\Unity\Editor\Data\Resources\ScriptTemplates Mac (since 5.2.1f1): /Applications/Unity/Unity.app/Contents/Resources/ScriptTemplates
using UnityEngine;
[CreateAssetMenu(menuName = "Custom/#SCRIPTNAME#", fileName = "New #SCRIPTNAME#", order = 10)]
public class #SCRIPTNAME# : ScriptableObject {
#NOTRIM#
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment