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

◆ AddSubAsset()

void AddSubAsset ( Object instance)

Adds an object as a sub-object to the asset. The object must not already be an asset.

This implicitly saves the change to disk - you do NOT need to call Save() afterwards.

Parameters
instanceThe object instance to add as subobject to this asset.
See also