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

◆ Remove()

static void Remove ( Object asset,
String label )
static

Removes a label from an asset. Does nothing if the label doesn't exist.

Parameters
assetInstance of an asset.
labelLabel to remove.
See also

Definition at line 132 of file Asset.Label.cs.

133 {
134 var labels = GetAll(asset).ToList();
135 labels.Remove(label);
136 SetAll(asset, labels.ToArray());
137 }

References GetAll(), and SetAll().

+ Here is the call graph for this function: