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);

猜你喜欢

转载自www.cnblogs.com/coolbear/p/9293756.html