CreateScriptableObjectAsset2

Author: Lea Hayes

Description
This page demonstrates an alternative method of adding a menu item which can be used to create an asset file for a  type class. As with the original topic the asset is uniquely named and placed in the currently selected project path but better mimics the way in which Unity's built-in assets are created since the asset is instantly in "rename" mode.

This topic is an extension of CreateScriptableObjectAsset by Brandon Edmark.

Warning
This implementation makes use of the non-documented method  and was created by way of trial-and-error but seems to work. Use this at your own risk.

Usage
1. Copy the following editor script into the path "Assets\Editor\ScriptableObjectUtility2.cs".

2. You can then use this utility script when adding new items to the "Assets/Create" menu.