Example #1
0
 private void HandleEditorReplaceLocaleTags()
 {
     if (this != null && !Application.isPlaying && m_autoTrackKey)
     {
         var v_text = RegexUtils.BulkReplace(Text, new Dictionary <string, string> {
             { @"<locale>", "" },
             { @"<\/locale>", "" },
             { @"<localeparam=([0-9])+>", "" },
             { @"<\/localeparam>", "" },
             { @"<skiplocale>", "" }
         });
         if (v_text != Text)
         {
             Text = v_text;
         }
     }
 }