Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AssetDatabase.SetLabels

static function SetLabels(obj: Object, labels: string[]): void;
static void SetLabels(Object obj, string[] labels);
static def SetLabels(obj as Object, labels as string[]) as void

Description

Replaces that list of labels on an asset.