打印函数print与debug.log的区别

public static void print(object message)
{
    Debug.Log(message);
}

没看错,实现就是通过Debug.Log来完成的。

所以Print就是Debug.Log的一个简单封装

posted @ 2015-10-27 21:39  程序员学习  阅读(609)  评论(0编辑  收藏  举报