![]()  | 
  
    CodeSmile AssetDatabase 1.9
    
   Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form. 
   | 
 
| 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.
| instance | The object instance to add as subobject to this asset. |