Example #1
0
 private void GetFontCollection()
 {
     if (m_fontCollectionIdentifier.Length == 0)
     {
         m_fontCollection = null;
     }
     else if (!RuntimeData.TryGetFontCollection(m_fontCollectionIdentifier, out m_fontCollection))
     {
         Log.Warning("Could not find font collection for TextField named '" + this.get_name() + "'.", 483, "C:\\BuildAgents\\AgentB\\work\\cub_client_win64_develop\\client\\DofusCube.Unity\\Assets\\Core\\Code\\UI\\Components\\AbstractTextField.cs");
     }
     else
     {
         m_fontCollection.Load();
     }
 }