Compilation error with official script (Dropdown)

Hi, I’m following the official guide and I’m stuck at step 4 of the tutorial because of compilation error.
(I’m here → About Localization | Package Manager UI website )

When I try to attach the given script to the Dropdown object, console reports this error:
“The name ‘LocalizationSettings’ does not exist in the current context”
to every lines which contains word “LocalizationSettings”.

I think this is just a problem of settings, maybe I didn’t check some box around but as I read the tutorial I think I did it good.

Wow that’s a really old version of the docs :wink:
Try this Quick Start Guide | Localization | 0.11.1-preview

Oh I didn’t realize it was so old hehe
Yeah I saw this guide and I think I done the step 1, 2, 3 well, but I don’t see a tutorial for Dropdown.

Do you have suggestion to make a simple dropdown for language? Any tutorial?

Take a look at the scripting examples for the moment. We will have support in the future via the Localized property variants feature. So for now you will need to write a script.
The package manager window will show a list of samples, the Localized String ones would be a good start

Okay I will look at this example!
Thank you

1 Like

Which one example?
7078126--842029--upload_2021-4-26_14-19-4.png
I suppose this is Language Selection Menu but there is IMGUI and UGUI, can you tell me what I should choose please @karl_jones ?

(this is for a 2D mobile game project)

Loading Strings

1 Like