Interface IVariableGroup
Collection that contains IVariable.
Namespace: UnityEngine.Localization.SmartFormat.PersistentVariables
Syntax
public interface IVariableGroup
Methods
TryGetValue(String, out IVariable)
Gets the variable with the matching key if one exists.
Declaration
bool TryGetValue(string key, out IVariable value)
Parameters
Type | Name | Description |
---|---|---|
String | key | The variable key or name to match. |
IVariable | value | The found variable or null if one could not be found. |
Returns
Type | Description |
---|---|
Boolean | true if a variable cound be found or false if one could not. |