예제 #1
0
    void OnEnable()
    {
        main = (DinaLabel)target;

        if (!DinaLabel.initialized)
        {
            DinaLabel.Initialize();
        }

        mask_values = DinaLabel.words.Keys.ToList();
        mask_values.Sort();
    }
예제 #2
0
    void OnEnable()
    {
        main      = (DinaLabel)target;
        assistant = FindObjectOfType <LocalizationAssistant>();
        if (LocalizationAssistantEditor.content == null)
        {
            LocalizationAssistantEditor.LoadContent();
        }

        if (!DinaLabel.initialized)
        {
            DinaLabel.Initialize();
        }

        mask_values = DinaLabel.words.Keys.ToList();
        mask_values.Sort();
    }