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

◆ SetAll()

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

Sets an asset's labels. Replaces any existing labels.

Parameters
assetInstance of an asset.
labelsAn array of labels.
See also

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

71 {
72 ThrowIf.ArgumentIsNull(asset, nameof(asset));
73 ThrowIf.ArgumentIsNull(labels, nameof(labels));
74
75 AssetDatabase.SetLabels(asset, labels);
76 }

Referenced by Remove().

+ Here is the caller graph for this function: