Beispiel #1
0
    //向特定面板发送广播
    public bool SendBroadInfoForOne <T>(UIPanelType uIPanelType, ENUM_MSG_TYPE mSG_TYPE, T info)
    {
        BasePanel panel = panelDict.TryGet(uIPanelType);

        if (panel != null)
        {
            panel.GetBroadInfo(mSG_TYPE, info);
            return(true);
        }
        else
        {
            return(false);
        }
    }