CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
|
|
getset |
Gets or sets the asset's main object.
To cast the main object to a specific type you may simply cast the asset:
Is short for:
The same works with the 'as' operator:
Is short for:
Lastly you can also use the generic getter:
Definition at line 35 of file Asset.Properties.cs.