///--------------------------------------------------------------------- public static void Initialize(EditorData data) { data.SyncTextInfos(); m_texts.Clear(); foreach (var item in data.m_texts) { m_texts[item.id] = item.text; } }