Ejemplo n.º 1
0
    internal void MessagePopupShow(string content, EventCallback0 callback, int type, bool isSystem, string confirmStr = "确定", string cancleStr = "取消")
    {
        MessagePopup popup = MessagePopup.Instance;

        popup.SetContent(content, callback, type, confirmStr, cancleStr);
        if (isSystem)
        {
            popup.Show(LayerManager.SystemPopLayer);
        }
        else
        {
            popup.Show(LayerManager.HighestLayer);
        }
    }