Exemple #1
0
 private GameObject GetTitleTextByType(eTextTitleType _typeOfTitle)
 {
     if (m_dictionaryTitleText.ContainsKey(_typeOfTitle))
     {
         return(m_dictionaryTitleText[_typeOfTitle]);
     }
     return(null);
 }
Exemple #2
0
 public void SetupTitleTextWithType(eTextTitleType _typeOfTitle)
 {
     if (m_currentTitleText != null)
     {
         m_currentTitleText.SetActive(false);
     }
     m_currentTitleText = GetTitleTextByType(_typeOfTitle);
     if (m_currentTitleText)
     {
         m_currentTitleText.SetActive(true);
     }
 }