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

            if (a.Key != name)
            {
                uihander.UnShow();
            }
        }
    }
示例#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();
            }
        }
    }