Method GetValue
GetValue(AddressableAssetSettings)
Evaluate the profile value using the provided settings object.
Declaration
public string GetValue(AddressableAssetSettings settings)
Parameters
| Type | Name | Description | 
|---|---|---|
| AddressableAssetSettings | settings | The settings object to evaluate with. The activeProfileId will be used.  | 
    
Returns
| Type | Description | 
|---|---|
| string | The evaluated string stored in the referenced profile variable.  | 
    
GetValue(AddressableAssetSettings, bool)
Evaluate the profile value using the provided settings object.
Declaration
public string GetValue(AddressableAssetSettings settings, bool evaluateValue)
Parameters
| Type | Name | Description | 
|---|---|---|
| AddressableAssetSettings | settings | The settings object to evaluate with. The activeProfileId will be used.  | 
    
| bool | evaluateValue | Specify whether to evaluate the raw profile value.  | 
    
Returns
| Type | Description | 
|---|---|
| string | The string stored in the referenced profile variable.  | 
    
GetValue(AddressableAssetProfileSettings, string)
Evaluate the profile value using the provided profile settings object and a profile id.
Declaration
public string GetValue(AddressableAssetProfileSettings profileSettings, string profileId)
Parameters
| Type | Name | Description | 
|---|---|---|
| AddressableAssetProfileSettings | profileSettings | The profile settings object.  | 
    
| string | profileId | The profile id.  | 
    
Returns
| Type | Description | 
|---|---|
| string | The evaluated string stored in the referenced profile variable.  |