39225人加入学习
(83人评价)
Unity中的C#编程 - 零基础(Unity 2017)

完成于2017-11-06

价格 免费

输出日志:

1.print:输出正常的日志

:把Log分成了三类

2.Debug.Log

Debug.LogWarning:在输出时同时给警示

Debug.LogError:在输出时给错误提示

 

[展开全文]

日志输出: Debug.log("XXX");(警告)

                  Debug.logError("XXX");(严重)

                 print("XXX");(普通

[展开全文]

类似print的功能输出:

Debug.Log("1123324")

警告:

Debug.LogWaring("1242")

错误:

Debug.LogError("24523")

[展开全文]

        print(1);//正常输出
        Debug.Log(2);//正常输出
        Debug.LogWarning(3);//警告输出黄色
        Debug.LogError(4);//报错输出红色

[展开全文]

Debug,log();

Debug,logWarning();

Debug,logError();

[展开全文]

授课教师

SiKi学院老师

课程特色

下载资料(2)
视频(37)