public bool IsVisible(Notice which, bool red)
    {
        UINoticeScript script = this.GetScript(which, red);

        if (script != null)
        {
            return(script.IsVisible());
        }
        else
        {
            return(false);
        }
    }
Пример #2
0
 public bool IsVisible(bool alert)
 {
     if (alert && AlertScript != null)
     {
         return(AlertScript.IsVisible());
     }
     else if (CorrectScript != null)
     {
         return(CorrectScript.IsVisible());
     }
     else
     {
         return(false);
     }
 }