请将最后一行的代码修改为:

Debug.LogException(new System.Exception("Future Local Time: " + futureTime + "2号配电变压器过负荷报警"));

请完成这段代码的 从string转换为SystemException 获取本地时间 SystemDateTime currentTime = SystemDateTimeNow; 将时间格式化为字符串 string timeString = currentTimeToStringyyyyMMdd HHmmss; 在控制台输

原文地址: https://www.cveoy.top/t/topic/iFJ1 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录