CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ operator Asset() [4/4]

static implicit operator Asset ( String path)
static

Implicit conversion of string path to an asset instance.

Parameters
pathPath to an asset file.
Returns
An asset instance or null if path is null.
// this imports & loads the asset, neat ey? :)
Asset asset = "Assets/Folder/MyAsset.asset";
Replacement implementation for Unity's massive AssetDatabase class with a cleaner interface and more ...