CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
|
|
static |
Loads or creates an asset at path.
Will first attempt to load the asset at path. If this fails, will create an asset from the object returned by getInstance. This is an alias for CodeSmileEditor.Asset.LoadOrCreate{T}.
path | Path to an asset file. |
getInstance | Func that returns a UnityEngine.Object |
T | UnityEngine.Object derived type. |
T | : | Object |