以Gmail为例。
点击屏幕的Capture按钮得到当前屏幕截图,点击Send按钮将之前的截图作为附件发送邮件。
using UnityEngine; using System.Collections; using System; using System.Net; using System.Net.Mail; using System.Net.Security; using System.Security.Cryptography.X509Certificates; public class TryDemo : MonoBehavio

本文介绍了如何在Unity3D中使用C#脚本发送带有附件的邮件,特别是通过捕获屏幕截图作为邮件附件。文章提到了通过Application.RegisterLogCallbackHandler监听错误日志,并探讨了两种发送错误日志的方式:直接用C#脚本发送和调用外部程序。还强调了Application.CaptureScreenshot函数在保存错误时刻屏幕截图中的作用。
最低0.47元/天 解锁文章
1998

被折叠的 条评论
为什么被折叠?



