void OnEnable() { main = (DinaLabel)target; if (!DinaLabel.initialized) { DinaLabel.Initialize(); } mask_values = DinaLabel.words.Keys.ToList(); mask_values.Sort(); }
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(); }