CodeSmile AssetDatabase 1.9
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 66 of file Asset.Label.cs.

67 {
68 ThrowIf.ArgumentIsNull(asset, nameof(asset));
69 ThrowIf.ArgumentIsNull(labels, nameof(labels));
70
71 AssetDatabase.SetLabels(asset, labels);
72 }

Referenced by Asset.Label.Remove().

+ Here is the caller graph for this function: