prime31
2/6/2015 - 6:06 AM

MenuItem example

MenuItem example

public class WhitsMenuItem : MonoBehaviour
{
	[UnityEditor.MenuItem( "Whits Menu/Create ScriptableObject...", false, 10 )]
	static void blahBlah()
	{
		// right here create your ScriptableObject
	}
}