Exemple #1
0
    public void hideAllUI()
    {
        foreach (KeyValuePair <string, GameHandler> a in uiDic)
        {
            GameUIHandlerInterface uihander = (GameUIHandlerInterface)a.Value;

            if (a.Key != name)
            {
                uihander.UnShow();
            }
        }
    }
Exemple #2
0
    public void checkSingel(string name)
    {
        foreach (KeyValuePair <string, GameHandler> a in uiDic)
        {
            GameUIHandlerInterface uihander = (GameUIHandlerInterface)a.Value;

            if (a.Key != name && !uihander.isAllways())
            {
                uihander.UnShow();
            }
        }
    }