Method SetLabel
SetLabel(string, bool, bool, bool)
Set or unset a label on this entry.
Declaration
public bool SetLabel(string label, bool enable, bool force = false, bool postEvent = true)
Parameters
| Type | Name | Description | 
|---|---|---|
| string | label | The label name.  | 
    
| bool | enable | Setting to true will add the label, false will remove it.  | 
    
| bool | force | When enable is true, setting force to true will force the label to exist on the parent AddressableAssetSettings object if it does not already.  | 
    
| bool | postEvent | Post modification event.  | 
    
Returns
| Type | Description | 
|---|---|
| bool | True if the label was added, false otherwise.  |