Skip to content

Instantly share code, notes, and snippets.

@dotKokott
Created February 9, 2017 22:52
Show Gist options
  • Save dotKokott/596abd0b7246e905ddd87220ce4bbf57 to your computer and use it in GitHub Desktop.
Save dotKokott/596abd0b7246e905ddd87220ce4bbf57 to your computer and use it in GitHub Desktop.
Adds a menu item for creating scriptable objects
using UnityEngine;
using UnityEditor;
public class CreateScriptableObjectX {
[MenuItem( "Assets/Create/ScriptableObjectX" )]
public static void CreateAsset() {
ScriptableObjectUtility.CreateAsset<ScriptableObjectX>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment