CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches
Asset.Label Class Reference

Groups all asset label related static methods. More...

+ Collaboration diagram for Asset.Label:

Static Public Member Functions

static void Add ([NotNull] Object asset, [NotNull] String label)
 Adds a single label to an asset's list of labels.
 
static void Add ([NotNull] Object asset, [NotNull] String[] labels)
 Adds several labels to an asset's list of labels.
 
static void ClearAll ([NotNull] Object asset)
 Clears all labels of an asset.
 
static String[] GetAll ([NotNull] Object asset)
 Returns an asset's labels.
 
static String[] GetAll ([NotNull] Path path)
 Returns an asset's labels.
 
static String[] GetAll (GUID guid)
 Returns an asset's labels.
 
static void Remove (Object asset, String label)
 Removes a label from an asset. Does nothing if the label doesn't exist.
 
static void SetAll ([NotNull] Object asset, [NotNull] String[] labels)
 Sets an asset's labels. Replaces any existing labels.
 

Detailed Description

Groups all asset label related static methods.

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