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

◆ Remove()

static void Remove ( [NotNull] Object subAsset)
static

Removes a sub-object from the asset it is contained in.

Parameters
subAssetInstance of a sub-asset.
See also

Definition at line 77 of file Asset.SubAsset.cs.

78 {
79 ThrowIf.ArgumentIsNull(subAsset, nameof(subAsset));
80
81 AssetDatabase.RemoveObjectFromAsset(subAsset);
82 }