Create Smart Localize String

I want to create localize string for “Level No” field and this kind of setup, I already did:

Now within the GameManager class, levelNo field exist.

So how to attach this levelNo field to smart localize string? Something like this kind of inspector I have:

There are some examples of accessing local variables here Class LocalizedString | Localization | 1.3.2
See the Player health example.

You may want to make this a global variable instead
https://docs.unity3d.com/Packages/com.unity.localization@1.3/manual/Smart/Persistent-Variables-Source.html#global-variables

1 Like