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

◆ operator Asset() [2/4]

static implicit operator Asset ( Object asset)
static

Implicit conversion of UnityEngine.Object to an Asset.

Throws exception if obj is not an asset object.

Parameters
assetExisting asset reference.
Returns
An asset instance or null if obj is null.
Asset asset = obj; // implicit conversion: Object to Asset
Replacement implementation for Unity's massive AssetDatabase class with a cleaner interface and more ...