A static functional class that provides several useful functions relating to ScriptableObject Assets and Instances of objects.
|
static T | CreateInstance< T > (string name) |
| a simple convenience function used to Instantiate, cast and set the name of a Scriptable object
|
|
static void | CreateNewAsset< T > (string name, ref string createdPathAndName) |
| Generates a new ScriptableObject Asset, and saves it to the Asset Folder. This function is only applicable for use in the editor.
|
|
static void | CreateNewAssetWithThisObject (Object newObject, string name, ref string createdPathAndName, bool ignoreSelectionForPath=false, bool selectNewItem=true) |
| Generates a new asset base on the newObject parameter, and saves it as an asset. This function is only applicable for use in the editor.
|
|