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

◆ Add() [2/2]

static void Add ( [NotNull] Object asset,
[NotNull] String[] labels )
static

Adds several labels to an asset's list of labels.

Parameters
assetInstance of an asset.
labelsThe labels to add.
See also

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

106 {
107 var existingLabels = new List<String>(GetAll(asset));
108 existingLabels.AddRange(labels);
109 AssetDatabase.SetLabels(asset, existingLabels.ToArray());
110 }

References GetAll().

+ Here is the call graph for this function: