I just updated my localization package from 0.10.0 and it would seem there were some fundamental changes in the meantime.
I was using this method to call strings:
private IEnumerator Start()
{
var tableLoading = _localizedStringTable.GetTable();
yield return tableLoading;
_currentStringTable = tableLoading.Result;
str = _currentStringTable[actionString].LocalizedValue;
}
but it would now return “error CS1061: ‘StringTable’ does not contain a definition for ‘Result’ and no accessible extension method ‘Result’ accepting a first argument of type ‘StringTable’ could be found (are you missing a using directive or an assembly reference?)”.
procopy01:
I just updated my localization package from 0.10.0 and it would seem there were some fundamental changes in the meantime.
I was using this method to call strings:
private IEnumerator Start()
{
var tableLoading = _localizedStringTable.GetTable();
yield return tableLoading;
_currentStringTable = tableLoading.Result;
str = _currentStringTable[actionString].LocalizedValue;
}
but it would now return “error CS1061: ‘StringTable’ does not contain a definition for ‘Result’ and no accessible extension method ‘Result’ accepting a first argument of type ‘StringTable’ could be found (are you missing a using directive or an assembly reference?)”.
We changed GetTable to no longer be async, so change it to use GetTableAsync and it should work again.