Hi !
I use a function to get a string from my tables with a key that i found on the web, it work exactly like i was hopping but i was wondering how to i use smart string with it :
public string GetDescription(string dataBase, string descriptionKey)
{
var operation = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(dataBase, descriptionKey);
string result = "";
if (operation.IsDone)
result = operation.Result;
else
operation.Completed += t => result = t.Result;
return result;
}
Thanx