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

◆ Create() [3/3]

static Object Create ( [NotNull] String contents,
[NotNull] Path path )
static

Writes the string to disk, then imports and loads the asset. Overwrites any existing file.

Creates missing folders in the destination path.

Parameters
contentsThe string to write.
pathPath to a file with extension.
Returns
The newly created asset.
See also