Search Unity

Set String Reference and Table collection via scripting on LocalizeStringEvent component

Discussion in 'Localization Tools' started by alexanderFabula, Jul 21, 2021.

  1. alexanderFabula

    alexanderFabula

    Joined:
    Sep 1, 2019
    Posts:
    22
    I have a Popup Manager in my project and I want the text in a popup to change via the LocalizeStringEvent component.

    The popup can be called from different places in the project. My idea was to send the Key from the localization table through the system and use it to set the String Reference on the LocalizeStringEvent component in the popup.

    but I see no way to declare a LocalizeStringEvent component or to get it via scripting. is it possible?
     

    Attached Files:

    Thomas-Mountainborn likes this.
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,276