Exemplo n.º 1
0
 protected void DrawInfoMessage(string key, float width)
 {
     if (infoMessage == null)
     {
         Debug.Log("The infoMessage database is null."); return;
     }
     if (infoMessage.Count == 0)
     {
         Debug.Log("The infoMessage database is empty. Add the key to the database before you try to darw its message."); return;
     }
     if (!infoMessage.ContainsKey(key))
     {
         Debug.Log("The infoMessage database does not contain any key named '" + key + "'. Check if it was added to the database or if you spelled the key wrong."); return;
     }
     QUI.DrawInfoMessage(infoMessage[key], width);
 }