Search Unity

Question Question about serialising classes or arrays to the asset tables

Discussion in 'Localization Tools' started by Project-NSX, Jan 20, 2023.

  1. Project-NSX

    Project-NSX

    Joined:
    Apr 11, 2019
    Posts:
    25
    Hello,

    I am currently making an app where conversations and multiple-choice answers are localised.
    This means that I need to have entries in the localisation table for multiple questions, the multiple-choice answers given by the player, and audio for each question.

    To simplify things, I'd like to have a conversation class that holds these strings and an audio file, that I can serialise in the asset table. This would mean that I'd be able to have a table for each character with keys like "questionOne", "questionTwo" etc, and non-programmers in my team would be able to edit these entries.

    Is this possible, and are there any special considerations or methods I need to use if it is?

    Thanks very much for reading!
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    Last edited: Jan 20, 2023