I have a WebGL project in which I want to implement a search function so the user can search in all the string tables and it returns the key. is it possible?
P.S: any clues to help me search about it are appreciated.
We certainly support this in the editor but it’s not something we have done in player. You can use GetAllTables Class LocalizedDatabase<TTable, TEntry> | Localization | 1.4.5
E.g. LocalizationSettings.StringDatabase.GetAllTables();
You can do it for each locale if you need to search more than 1 language. You will find all the localized values in the table and the SharedData contains all the keys.
Now you just need to build a search system on top of this information. ![]()
1 Like