Method SetLabel
SetLabel(String, Boolean, Boolean, Boolean)
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. |
Boolean | enable | Setting to true will add the label, false will remove it. |
Boolean | 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. |
Boolean | postEvent | Post modification event. |
Returns
Type | Description |
---|---|
Boolean |