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

◆ operator Asset() [3/4]

static implicit operator Asset ( Path path)
static

Implicit conversion of Asset.Path to an Asset instance.

Parameters
pathPath to an asset file.
Returns
An asset instance or null if path is null.
Asset asset = new Path("Assets/folder/file.asset");
Represents a relative path to an asset file or folder, typically under 'Assets' or 'Packages'.
Definition Asset.Path.cs:25
Replacement implementation for Unity's massive AssetDatabase class with a cleaner interface and more ...