Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Format Argument Option Not found

Discussion in 'Localization Tools' started by urooj_fatima, Oct 30, 2022.

  1. urooj_fatima

    urooj_fatima

    Joined:
    Oct 21, 2022
    Posts:
    3
    In the case of localizing with the smart filter turned on the option of format argument is not displayed.
    upload_2022-10-30_4-14-27.png
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,223
  3. urooj_fatima

    urooj_fatima

    Joined:
    Oct 21, 2022
    Posts:
    3
    In order to add the logic I need the format arguments option in the inspector pane as shown in the figure attached but it is not being displayed in my case(previous image)
    upload_2022-10-30_22-27-57.png
     
    Last edited: Oct 30, 2022
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,223
    We replaced format arguments with local variables. There should be no mention of it in the latest docs. You can add the arguments to the local variables field instead.
     
  5. urooj_fatima

    urooj_fatima

    Joined:
    Oct 21, 2022
    Posts:
    3
    Can't find any proper documentation that could guide me in adding smart text from the script to the text.
    For eg: I want a player name defined in the script to be dynamically displayed with smart localized text.
     
  6. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,223