CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
|
Creates an asset file from a byte array.
Writes the data to a file, then imports the file and loads the asset object.
contents | The data to save as an asset file. |
path | Path where to save the new asset file, with extension. |
overwriteExisting | If true, will overwrite any existing asset at path. Otherwise does not overwrite but generates a unique filename (default). |
System.ArgumentNullException | If contents is null. |
System.ArgumentNullException | If the path is null. |
Definition at line 104 of file Asset.cs.