Unity弹出MessageBox

[DllImport("User32.dll", SetLastError = true, ThrowOnUnmappableChar = true, CharSet = CharSet.Auto)]
    public static extern int MessageBox(IntPtr handle, String message, String title, int type);

MessageBox(IntPtr.Zero, uri, "从配置文件读取DeepStream的IP:Port", 0);

 

posted @ 2018-07-11 12:02  酷熊  阅读(1993)  评论(0编辑  收藏  举报